Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| using System.Collections.Generic; | |
| using System.ComponentModel; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Media; | |
| using Gma.QrCodeNet.Encoding; | |
| namespace Gma.QrCodeNet.Wpf | |
| { | |
| public class QrCodeElement : Control |
| # if running bash | |
| if [ -n "$BASH_VERSION" ]; then | |
| # include .bashrc if it exists | |
| if [ -f "$HOME/.bashrc" ]; then | |
| . "$HOME/.bashrc" | |
| fi | |
| fi |
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
| #!/usr/bin/perl | |
| # | |
| # The goal of this is to read a bunch of variables from debconf | |
| # To implement a "late_command_runparts" like function. | |
| # Ie, you would populate the preseed with content like: | |
| # late-command-d late-command/90-fix-hosts string content-for-fix-hosts | |
| # late-command-d late-command/10-install-my-packages string payload | |
| # | |
| # Then, in the actual late_command, we would suck out all those | |
| # values, and run them by doing something like this: |
| // https://blogs.oracle.com/janp/entry/how_the_scp_protocol_works | |
| package main | |
| import ( | |
| "fmt" | |
| "golang.org/x/crypto/ssh" | |
| ) | |
| const privateKey = `content of id_rsa` |
| require 'formula' | |
| class Macvim < Formula | |
| homepage 'http://code.google.com/p/macvim/' | |
| url 'https://github.com/b4winckler/macvim/tarball/snapshot-66' | |
| version '7.3-66' | |
| sha1 'd11696f7089688fa96a45fc57410c60f6ca5a394' | |
| head 'https://github.com/b4winckler/macvim.git', :branch => 'master' |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| #include<stdio.h> | |
| main() | |
| { | |
| printf("Hello World"); | |
| } |
| #!/usr/bin/env ruby | |
| require 'octokit' | |
| pass_re = /^password: "(.*)"$/ | |
| token = `security find-generic-password -s "GitHub API Token" -g 2>&1 | grep "password"`.match(pass_re)[1] | |
| c = Octokit::Client.new(:access_token => token) | |
| user_login = c.user.login |
| package main | |
| import ( | |
| "bytes" | |
| "code.google.com/p/go.crypto/openpgp" | |
| "code.google.com/p/go.crypto/openpgp/armor" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| ) |