Another curated list like awesome-go.
Not complete. Not authoritative. Not cupcake.
Send suggestions: @squarism :)
☆ = Github stars (in September 2014)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Creates a bootable ISO from CoreOS' PXE images. | |
| # Also adds a run script to the OEM partition and converts the ISO so it can boot from USB media. | |
| # Based heavily off https://github.com/nyarla/coreos-live-iso - Thanks Naoki! | |
| set -e | |
| # Default configurations | |
| SYSLINUX_VERSION="6.02" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| hostname: deis-server2 | |
| users: | |
| - name: devops | |
| passwd: $6$rounds=4096$z3E4YVD5Jq$VmaIx64Ab2pS6I0lZKMWrsvDDcQ8tv2.c1.EfDh9W2haEvzFjeKhYg2wu7ZZEttwNFBs9QUvrQxvYORLiR/qV. #devops | |
| groups: | |
| - sudo | |
| - docker | |
| coreos: | |
| etcd: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <CGAL/Timer.h> | |
| /// Nanoflann code | |
| #include <nanoflann.hpp> | |
| #include <cstdlib> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <vector> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.datastax.spark.connector.cql.CassandraConnector | |
| import org.apache.spark.{SparkContext, SparkConf} | |
| import org.apache.spark.sql.{Row, SQLContext} | |
| /** Spark SQL: Txt, Parquet, JSON Support with the Spark Cassandra Connector */ | |
| object SampleJson extends App { | |
| import com.datastax.spark.connector._ | |
| import GitHubEvents._ | |
| val conf = new SparkConf(true) |
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Save this file to ~/.multirust/Makefile | |
| # to run, cd ~/.multirust; make toolchains/1.3.0/src | |
| .PHONY: clean | |
| rust.git: | |
| git clone https://github.com/rust-lang/rust.git --bare | |
| toolchains/nightly/src: toolchains/master/src | |
| ln -sf $$(pwd)/toolchains/master/src $$(pwd)/$@ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -g history-limit 5000 | |
| set-window-option -g utf8 on # utf8 support | |
| # Open man page in new window | |
| bind / command-prompt "split-window 'exec man %%'" | |
| bind y run-shell "tmux show-buffer | xclip -sel clip -i" \; display-message "Copied tmux buffer to system clipboard" | |
| set -g update-environment -r | |
| # quick view of processes | |
| bind '~' split-window "exec htop" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| timezone="Europe/Zurich" | |
| # List of valid timezones: wikipedia.org/wiki/List_of_tz_database_time_zones | |
| script="${0##*/}" | |
| rootdir=$(cd `dirname "${BASH_SOURCE[0]}"` && pwd) | |
| logfile="$script.log" | |
| log="$rootdir/$logfile" | |
| now=$(TZ=":$timezone" date) | |
| # Uncomment 'mailto=' (remove #) to enable emailing the log upon completion | |
| #mailto="[email protected]" |
OlderNewer