Skip to content

Instantly share code, notes, and snippets.

@Lunatrius
Lunatrius / README.md
Created March 3, 2024 20:49 — forked from atenni/README.md
How to permalink to a gist's raw file

Problem: When linking to the raw version of a gist, the link changes with each revision.

Solution:

To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/

To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]

@Lunatrius
Lunatrius / svn_to_git.rst
Created April 14, 2020 17:15 — forked from epicserve/svn_to_git.rst
Convert SVN Repositories to Git Repositories

Convert SVN Repositories to Git Repositories

This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.

1. Retrieve a list of all Subversion committers

:

Keybase proof

I hereby claim:

  • I am lunatrius on github.
  • I am lunatrius (https://keybase.io/lunatrius) on keybase.
  • I have a public key whose fingerprint is 0633 8928 9641 ACEE D641 7567 DB4C 2577 403E F3CB

To claim this, I am signing this object:

.nofile {
color: red;
}
.nofile.highlighted {
color: #ff9999 !important;
}
.file {
color: orange;
}
.file.highlighted {
#!/usr/bin/env python
import os
import sys
if sys.version_info.major < 2:
reload(sys)
sys.setdefaultencoding('utf-8')
import time
repositories {
ivy {
name "CoFHLib"
artifactPattern "http://addons.cursecdn.com/files/2212/893/[module]-[revision].[ext]"
}
ivy {
name "CoFHCore"
artifactPattern "http://addons.cursecdn.com/files/2212/895/[module]-[revision].[ext]"
}
ivy {
def tmpRes = 'build/dependencyATs'
sourceSets.main.resources.srcDirs += [tmpRes]
configurations.compile.copy().each { file ->
logger.lifecycle "Processing ${file.path}..."
copy {
from(zipTree(file.path)) {
include '*_at.cfg'
}
into(tmpRes)