recentpopularlog in

kme : github   300

« earlier  
github - Relative Link to Repo's Root from Markdown file - Stack Overflow
On GitLab, it seems to be '/../tree/whatever'.
after some research I've found such solution:

[the real relative root of any fork](/../../)
github  gitlab  gfm  markdown  relativelinks  maybesolution 
october 2019 by kme
How do I clone a gist using https:// instead of git:// - Stack Overflow
This probably isn't an issue anymore for GitHub gists, but this was the solution to using 'url."https://something".insteadof https://somethingelse', which I was looking for.

See also: https://coderwall.com/p/sitezg/force-git-to-clone-with-https-instead-of-git-urls
You can configure git to use https:// globally by running running
<code class="language-bash">git config --global url."https://".insteadOf git://</code>
or by adding the following to ~/.gitconfig:
<code class="language-ini">[url "https://"]
insteadOf = git://
</code>
git  github  gitfu  insteadof  cloneurl  solution 
october 2019 by kme
Re: We plan to transition from RT to GitHub - nntp.perl.org

Here’s a proposal: if you’re going to complain GitHub and needing a login
and anonymity and open source purity and yadayadayada, how about you also
tell us how many bugs you’ve reported or fixes you’ve submitted to core or
CPAN. This is a positive move to a modern setup that can’t but help attract
new blood. We’re only a handful of messages in and we’re already throwing
up purist road blocks. Sawyer, this is a fantastic idea and if you need any
help, just throw some bits my way.
perl  github  purists  keepinitreal 
august 2019 by kme
Re: We plan to transition from RT to GitHub - nntp.perl.org
It's interesting to hear people call out their beefs with GitHub, like:
I actually do want credit for my work; but I'm not going to have my (limited) web presence tied to a flashy, for-profit site.
github  opensource  culture  freedom  javascript 
august 2019 by kme
GitHub Table of Contents
I think this was ripped from a Chrome extension. Did not try it, since https://greasyfork.org/en/scripts/7673-table-of-contents-everywhere worked fine for what I needed.
bookmarklet  userscript  toc  tableofcontents  github  javascript 
july 2019 by kme
offer to help with Python 3 support - Google Groups
Looking at Jun's work, it seems he is more or less reimplementing a subset of the functionality that six provides in `trac.util.compat`. I think adding six as a dependency or vendoring it (Django's solution) would save some work. Either approach is fine with me, just let me know what you think.
trac  wiki  issuetracker  python  2to3  needshelp  alterantiveto  github  gitlab  mediawiki 
june 2019 by kme
GitHub - github/semantic: Parsing, analyzing, and comparing source code across many languages
Parsing, analyzing, and comparing source code across many languages - github/semantic
github  haskell  parser  staticanalyzer 
june 2019 by kme
carpentries/workshop-template: Rendering of the workshop-template site | https://github.com/
Rendering of the workshop-template site. Contribute to carpentries/workshop-template development by creating an account on GitHub.
workshop  jekyll  website  template  github  ghpage 
march 2019 by kme
Fork-n-Go | http://jlord.us/
fork-n-go, github pages forkable by design, sheetsee.js
webhosting  webdevel  webmaster  hosting  github  githubpages 
february 2019 by kme
curl - ERROR: The certificate of `raw.githubusercontent.com' is not trusted - Stack Overflow | https://stackoverflow.com/
In my case, 'wget' gave a better error message than 'curl', and it told me that my organization was using a fake root CA, and 'wget' didn't recognize *its* issuer.

Solution for a Debian system at https://pinboard.in/u:kme/b:c57651a965b4 (convert issuer CA to PEM-encoded .crt, put in /usr/local/share/ca-certificates, and run 'sudo update-ca-certificates)
github  errormessage  ssl  cacert  certificates  crypto  headache 
january 2019 by kme
jiahaog/gitcloud: Use GitHub for file hosting and indexing | https://github.com/
Use GitHub for file hosting and indexing. Contribute to jiahaog/gitcloud development by creating an account on GitHub.
git  github  hosting  cloudstorage 
january 2019 by kme
GitHub on Twitter: "We're thrilled to announce that we've entered into an acquisition agreement with @Microsoft! https://t.co/4DezuXTJfV… " | https://twitter.com/
Yes; but with the BS going on with telemetry, it wouldn't surprise me if they tried to buy GitHub to get everyone to use something with built-in spying functionality.
github  windows  microsoft  acquisition  spyware 
june 2018 by kme
Microsoft + GitHub = Empowering Developers - The Official Microsoft Blog | https://blogs.microsoft.com/
Most importantly, we recognize the responsibility we take on with this agreement. We are committed to being stewards of the GitHub community, which will retain its developer-first ethos, operate independently and remain an open platform. We will always listen to developer feedback and invest in both fundamentals and new capabilities.

Once the acquisition closes later this year, GitHub will be led by CEO Nat Friedman, an open source veteran and founder of Xamarin, who will continue to report to Microsoft Cloud + AI Group Executive Vice President Scott Guthrie; GitHub CEO and Co-Founder Chris Wanstrath will be a technical fellow at Microsoft, also reporting to Scott. You can see how Chris, Nat and I envision the opportunity ahead in this public presentation.
github  microsoft  acquisition 
june 2018 by kme
Testing your SSH connection - User Documentation [https://help.github.com/]
<code>The authenticity of host 'github.com (IP ADDRESS)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)?
</code>

<code>The authenticity of host 'github.com (IP ADDRESS)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)?
</code>
git  github  ssh  hostkey  fingerprint  security  reference 
march 2018 by kme
A 1.3-Tbs DDoS Hit GitHub, the Largest Yet Recorded | WIRED | https://www.wired.com/
The web monitoring and network intelligence firm ThousandEyes observed the GitHub attack on Wednesday. "This was a successful mitigation. Everything transpired in 15 to 20 minutes," says Alex Henthorne-Iwane, vice president of product marketing at ThousandEyes. "If you look at the stats you’ll find that globally speaking DDoS attack detection alone generally takes about an hour plus, which usually means there’s a human involved looking and kind of scratching their head. When it all happens within 20 minutes you know that this is driven primarily by software. It’s nice to see a picture of success."
github  ddos  internet  memcached  security  ops  winning 
march 2018 by kme
Damko | How to configure ReText on Linux | Blog
<code class="language-css">
body
{
font-size:15px;
line-height:1.7;
overflow-x:hidden;

background-color: white;
/*
border-radius: 3px;
border: 3px solid #EEE;
box-shadow: inset 0 0 0 1px #CECECE;
*/
font-family: Helvetica, arial, freesans, clean, sans-serif;
width: 912px;
padding: 30px;
margin: 2em auto;

color:#333333;
}


.body-classic{
color:#444;
font-family:Georgia, Palatino, 'Palatino Linotype', Times, 'Times New Roman', "Hiragino Sans GB", "STXihei", "", serif;
font-size:16px;
line-height:1.5em;
background:#fefefe;
width: 45em;
margin: 10px auto;
padding: 1em;
outline: 1300px solid #FAFAFA;
}

body>:first-child
{
margin-top:0!important;
}

body>:last-child
{
margin-bottom:0!important;
}

blockquote,dl,ol,p,pre,table,ul {
border: 0;
margin: 15px 0;
padding: 0;
}

body a {
color: #4183c4;
text-decoration: none;
}

body a:hover {
text-decoration: underline;
}

body a.absent
{
color:#c00;
}

body a.anchor
{
display:block;
padding-left:30px;
margin-left:-30px;
cursor:pointer;
position:absolute;
top:0;
left:0;
bottom:0
}

/*h4,h5,h6{ font-weight: bold; }*/

.octicon{
font:normal normal 16px sans-serif;
width: 1em;
height: 1em;
line-height:1;
display:inline-block;
text-decoration:none;
-webkit-font-smoothing:antialiased
}

.octicon-link {
background: url("data:image/svg+xml;utf8,<?xml version='1.0' standalone='no'?> <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'> <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 832'> <metadata>Copyright (C) 2013 by GitHub</metadata> <!-- scale(0.01565557729941) --> <path transform='' d='M768 64h-192s-254 0-256 256c0 22 3 43 8 64h137c-11-19-18-41-18-64 0-128 128-128 128-128h192s128 0 128 128-128 128-128 128 0 64-64 128h64s256 0 256-256-256-256-256-256z m-72 192h-137c11 19 18 41 18 64 0 128-128 128-128 128h-192s-128 0-128-128 128-128 128-128-4-65 66-128h-66s-256 0-256 256 256 256 256 256h192s256 0 256-256c0-22-4-44-8-64z'/> </svg>");
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
}

.octicon-link:before{
content:'\a0';
}

body h1,body h2,body h3,body h4,body h5,body h6{
margin:1em 0 15px;
padding:0;
font-weight:bold;
line-height:1.7;
cursor:text;
position:relative
}

body h1 .octicon-link,body h2 .octicon-link,body h3 .octicon-link,body h4 .octicon-link,body h5 .octicon-link,body h6 .octicon-link{
display:none;
color:#000
}

body h1:hover a.anchor,body h2:hover a.anchor,body h3:hover a.anchor,body h4:hover a.anchor,body h5:hover a.anchor,body h6:hover a.anchor{
text-decoration:none;
line-height:1;
padding-left:0;
margin-left:-22px;
top:15%
}

body h1:hover a.anchor .octicon-link,body h2:hover a.anchor .octicon-link,body h3:hover a.anchor .octicon-link,body h4:hover a.anchor .octicon-link,body h5:hover a.anchor .octicon-link,body h6:hover a.anchor .octicon-link{
display:inline-block
}

body h1 tt,body h1 code,body h2 tt,body h2 code,body h3 tt,body h3 code,body h4 tt,body h4 code,body h5 tt,body h5 code,body h6 tt,body h6 code{
font-size:inherit
}

body h1{
font-size:2.5em;
border-bottom:1px solid #ddd
}

body h2{
font-size:2em;
border-bottom:1px solid #eee
}

body h3{
font-size:1.5em
}

body h4{
font-size:1.2em
}

body h5{
font-size:1em
}

body h6{
color:#777;
font-size:1em
}

body p,body blockquote,body ul,body ol,body dl,body table,body pre{
margin:15px 0
}

body h1 tt,body h1 code,body h2 tt,body h2 code,body h3 tt,body h3 code,body h4 tt,body h4 code,body h5 tt,body h5 code,body h6 tt,body h6 code
{
font-size:inherit;
}


body hr
{
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAECAYAAACtBE5DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OENDRjNBN0E2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OENDRjNBN0I2NTZBMTFFMEI3QjRBODM4NzJDMjlGNDgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4Q0NGM0E3ODY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4Q0NGM0E3OTY1NkExMUUwQjdCNEE4Mzg3MkMyOUY0OCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqqezsUAAAAfSURBVHjaYmRABcYwBiM2QSA4y4hNEKYDQxAEAAIMAHNGAzhkPOlYAAAAAElFTkSuQmCC);
background-repeat: repeat-x;
/*background:transparent url(http://overblown.net/files/markdown/dirty-shade.png) repeat-x 0 0;*/
background-color: transparent;
background-position: 0;
border:0 none;
color:#ccc;
height:4px;
margin:15px 0;
padding:0;
}

body li p.first
{
display:inline-block;
}

body ul,body ol
{
padding-left:30px;
}

body ul.no-list,body ol.no-list
{
list-style-type:none;
padding:0;
}

body ul ul,body ul ol,body ol ol,body ol ul
{
margin-bottom:0;
margin-top:0;
}

body dl
{
padding:0;
}

body dl dt
{
font-size:14px;
font-style:italic;
font-weight:700;
margin-top:15px;
padding:0;
}

body dl dd
{
margin-bottom:15px;
padding:0 15px;
}

body blockquote
{
border-left:4px solid #DDD;
color:#777;
padding:0 15px;
}

body blockquote>:first-child
{
margin-top:0;
}

body blockquote>:last-child
{
margin-bottom:0;
}

body table
{
display:block;
overflow:auto;
width:100%;
}

body table th
{
font-weight:700;
}

body table th,body table td
{
border:1px solid #ddd;
padding:6px 13px;
}

body table tr
{
background-color:#fff;
border-top:1px solid #ccc;
}

/*body table tr:nth-child(2n)
{
background-color:#f8f8f8;
}*/

body img
{
-moz-box-sizing:border-box;
box-sizing:border-box;
max-width:100%;
}

body span.frame
{
display:block;
overflow:hidden;
}

body span.frame>span
{
border:1px solid #ddd;
display:block;
float:left;
margin:13px 0 0;
overflow:hidden;
padding:7px;
width:auto;
}

body span.frame span img
{
display:block;
float:left;
}

body span.frame span span
{
clear:both;
color:#333;
display:block;
padding:5px 0 0;
}

body span.align-center
{
clear:both;
display:block;
overflow:hidden;
}

body span.align-center>span
{
display:block;
margin:13px auto 0;
overflow:hidden;
text-align:center;
}

body span.align-center span img
{
margin:0 auto;
text-align:center;
}

body span.align-right
{
clear:both;
display:block;
overflow:hidden;
}

body span.align-right>span
{
display:block;
margin:13px 0 0;
overflow:hidden;
text-align:right;
}

body span.align-right span img
{
margin:0;
text-align:right;
}

body span.float-left
{
display:block;
float:left;
margin-right:13px;
overflow:hidden;
}

body span.float-left span
{
margin:13px 0 0;
}

body span.float-right
{
display:block;
float:right;
margin-left:13px;
overflow:hidden;
}

body span.float-right>span
{
display:block;
margin:13px auto 0;
overflow:hidden;
text-align:right;
}

body code,body tt
{
background-color:#f8f8f8;
border:1px solid #ddd;
border-radius:3px;
margin:0 2px;
padding:0 5px;
}

body code
{
white-space:nowrap;
}


code,pre{
font-family:Consolas, "Liberation Mono", Courier, monospace;
font-size:12px
}

body pre>code
{
background:transparent;
border:none;
margin:0;
padding:0;
white-space:pre;
}

body .highlight pre,body pre
{
background-color:#f8f8f8;
border:1px solid #ddd;
font-size:13px;
line-height:19px;
overflow:auto;
padding:6px 10px;
border-radius:3px
}

body pre code,body pre tt
{
background-color:transparent;
border:none;
margin:0;
padding:0;
}

body .task-list{
list-style-type:none;
padding-left:10px
}

.task-list-item{
padding-left:20px
}

.task-list-item label{
font-weight:normal
}

.task-list-item.enabled label{
cursor:pointer
}

.task-list-item+.task-list-item{
margin-top:5px
}

.task-list-item-checkbox{
float:left;
margin-left:-20px;
margin-top:7px
}


.highlight{
background:#ffffff
}

.highlight .c{
color:#999988;
font-style:italic
}

.highlight .err{
color:#a61717;
background-color:#e3d2d2
}

.highlight .k{
font-weight:bold
}

.highlight .o{
font-weight:bold
}

.highlight .cm{
color:#999988;
font-style:italic
}

.highlight .cp{
color:#999999;
font-weight:bold
}

.highlight .c1{
color:#999988;
font-style:italic
}

.highlight .cs{
color:#999999;
font-weight:bold;
font-style:italic
}

.highlight .gd{
color:#000000;
background-color:#ffdddd
}

.highlight .gd .x{
color:#000000;
background-color:#ffaaaa
}

.highlight .ge{
font-style:italic
}

.highlight .gr{
color:#aa0000
}

.highlight .gh{
color:#999999
}

.highlight .gi{
color:#000000;
background-color:#ddffdd
}

.highlight .gi .x{
color:#000000;
background-color:#aaffaa
}

.highlight .go{
color:#888888
}

.highlight .gp{
color:#555555
}

.highlight .gs{
font-weight:bold
}

.highlight .gu{
color:#800080;
font-weight:bold
}

.highlight .gt{
color:#aa0000… [more]
markdown  retext  configuration  github  css  solution 
november 2017 by kme
Content Security Policy | https://github.com/
Bookmarklets

As made clear by the CSP spec, browser bookmarklets shouldn't be affected by CSP.

Enforcing a CSP policy should not interfere with the operation of user-supplied scripts such as third-party user-agent add-ons and JavaScript bookmarklets.

http://www.w3.org/TR/CSP/#processing-model

Whenever the user agent would execute script contained in a javascript URI, instead the user agent must not execute the script. (The user agent should execute script contained in "bookmarklets" even when enforcing this restriction.)

http://www.w3.org/TR/CSP/#script-src

But, none of the browsers get this correct. All cause CSP violations and prevent the bookmarklet from functioning.

Though its highly discouraged, you can disable CSP in Firefox as a temporary workaround. Open up about:config and set security.csp.enable to false.
security  github  javascript  csp  firefox  bookmarklet  annoyance  sortof  solution 
november 2017 by kme
Pagure: DIY git project hosting - Fedora Magazine | https://fedoramagazine.org/
Pagure is a new, full featured git repository service for the web, written in Python. It is similar to other popular git forges like Github and Gitlab, allowing open source contributors to share and collaborate on code and content. By the way, pagure is French for “hermit crab,” as reflected in the logo on the project documentation.
git  scm  fedorahosted  hosting  fedora  alternativeto  gitlab  github 
october 2017 by kme
Release v3.5.0 · primer/octicons | https://github.com/
This appears to be the last release that includes the webfonts.
octicons  icons  webdevel  webdesign  webfont  github 
october 2017 by kme
tpope/vim-fugitive: fugitive.vim: a Git wrapper so awesome, it should be illegal
You can "set splitright" (as mentioned here: https://github.com/tpope/vim-fugitive/issues/919) if you want :Gdiff to stop splitting horizontally, which is super-annoying.
vim  extension  github  git  plugin  essential  movein 
august 2017 by kme
terminal - command line method or programmatically add ssh key to github.com user account - Unix & Linux Stack Exchange
Auth with username and password is supported by github api:

There are three ways to authenticate through GitHub API v3. ...
Basic Authentication
$ curl -u "username" https://api.github.com
...

So just choose a lib in the language you prefer and use the implemented version of the Create a Public Key "Public Key" API Section:

Creates a public key. Requires that you are authenticated via Basic Auth, or OAuth with at least [write:public_key] scope.

INPUT
POST /user/keys

{
"title": "octocat@octomac",
"key": "ssh-rsa AAA..."
}

If you want to use it from command line (via curl):

curl -u "username" --data '{"title":"test-key","key":"ssh-rsa AAA..."}' https://api.github.com/user/keys
github  api  shell  commandline  publickeyauthentication  solution 
august 2017 by kme
GitHub's SSH key fingerprints - User Documentation
Public key fingerprints can be used to validate a connection to a remote server.

These are GitHub's public key fingerprints (in hexadecimal format):

16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48 (RSA)
ad:1c:08:a4:40:e3:6f:9c:f5:66:26:5d:4b:33:5d:8c (DSA)

These are the SHA256 hashes shown in OpenSSH 6.8 and newer (in base64 format):

SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 (RSA)
SHA256:br9IjFspm1vxR3iA35FWE+4VTyz1hYVLIE2t1/CeyWQ (DSA)
ssh  fingerprint  security  github  pubkeyauth 
june 2017 by kme
How to install certificates for command line - Ask Ubuntu
For everything to work and not only your browser, you need to add that CA certificate to the system's trusted CA repository.

In ubuntu:

Go to /usr/share/ca-certificates/
Create a new folder, i.e. "sudo mkdir school"
Copy the .crt file into the school folder
Make sure the permissions are OK (755 for the folder, 644 for the file)
Run "sudo update-ca-certificates"
sysadmin  ubuntu  linux  ca  certificates  ssl  github  mitm  solution 
june 2017 by kme
Gitblit
Gitblit is an open-source, pure Java stack for managing, viewing, and serving Git repositories.

It's designed primarily as a tool for small workgroups who want to host centralized repositories.
git  hosting  server  java  devops  versioncontrol  alternativeto  gitlab  bitbucket  github  gog 
may 2017 by kme
Removing sensitive data from a repository - User Documentation
git filter-branch --force --index-filter \
'git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' \
--prune-empty --tag-name-filter cat -- --all
> Rewrite 48dc599c80e20527ed902928085e7861e6b3cbe6 (266/266)
> Ref 'refs/heads/master' was rewritten

git for-each-ref --format='delete %(refname)' refs/original | git update-ref --stdin
git reflog expire --expire=now --all
git gc --prune=now
security  github  git  oops  howto  solution 
may 2017 by kme
« earlier      
per page:    204080120160

Copy this bookmark:





to read