View boost.sh
#===============================================================================
# Filename: boost.sh
# Author: Pete Goodliffe
# Copyright: (c) Copyright 2009 Pete Goodliffe
# Licence: Please feel free to use this, with attribution
# Modified version
#===============================================================================
#
# Builds a Boost framework for iOS, iOS Simulator, and OSX.
# Creates a set of universal libraries that can be used on an iOS and in the
View README.md

This script will watch for xscreensaver blanking event and disable actual HDMI output accordingly.

View discord_bot_tutorial_19.py
import discord
import json
import os.path
client = discord.Client()
BOT_TOKEN = "BOT_TOKEN_HERE"
@client.event
async def on_ready():
View TSSToken
pragma solidity ^0.4.13;
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal constant returns (uint256) {
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
View wsl-init.sh
#!/bin/bash
SSHD_PORT=2222
SSHD_FILE=/etc/ssh/sshd_config
SUDOERS_FILE=/etc/sudoers
# 0.
sudo apt-get update
# 0.1. reinstall sshd
sudo apt remove -y --purge openssh-server
sudo apt install -y openssh-server
View gist:60bedf2096a9f1e8e42e87dfdbfdcd8a
redis-cli -a pass123 KEYS "prefix:*" | xargs redis-cli -a pass123 DEL
View accounts.ex
defmodule MyApi.Accounts do
# code omitted for brevity
alias MyApi.Guardian
import Comeonin.Bcrypt, only: [checkpw: 2, dummy_checkpw: 0]