This file contains 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
:: | |
:: This script installs wormhole (https://github.com/warner/magic-wormhole) and | |
:: its prerequisites. Run this as an administrator. | |
:: | |
:: Install chocolatey. | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
:: Install Python 3. | |
choco install -y python |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type' /> | |
<meta name="twitter:card" content="player" /> | |
<meta name="twitter:site" content="@wakeyio" /> | |
<meta name="twitter:title" content="Hemopure ~ Wakey Wakey #26" /> | |
<meta name="twitter:description" content="Hemopure is an artificial blood (HBOC) that’s saving lives in South Africa. It’s shelf stable and 100% compatible with all blood types." /> | |
<meta name="twitter:image" content="https://wakey.io/public/img/thumbs/26.png" /> | |
<meta name="twitter:player" content="https://wakey.io/embed/26" /> |
This file contains 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
/* | |
* Take a set of full height screenshots for a range of screensizes. | |
* phantomjs responsive-screens.js http://www.cnn.com/ png | |
* | |
* This will create a directory tree in your current directory which | |
* mirrors the URL. All files will be named with the current time. | |
* You can run this on a cron to build an archive of screenshots. | |
**/ | |
var page = new WebPage(), |
This file contains 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
#!/usr/bin/env bash | |
# | |
# archroot | |
# An overlayfs chroot management script for deployable arch build environments | |
# | |
# Version 1.18 | |
# | |
# Written by Kevin MacMartin | |
# Released under the MIT license |
This file contains 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
// An example of how to bind a C++ class in four scripting languages: lua, squirrel, mruby, and angelscript. | |
// Written by James S Urquhart ( http://www.cuppadev.co.uk/ ). Feel free to experiment! | |
#include <stdarg.h> | |
#include <stdio.h> | |
#include <assert.h> | |
// Lua includes | |
extern "C" | |
{ |
This file contains 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 <QtCore> | |
int main(int argc, char** argv) | |
{ | |
QCoreApplication app(argc, argv); | |
if (argc < 2) | |
{ | |
qDebug() << "Usage:" << argv[0] << "INFILE OUTFILE"; | |
return 1; |
This file contains 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
#pragma once | |
#ifndef __ASBIND_H__ | |
#define __ASBIND_H__ | |
//========================================================= | |
/* | |
asbind.h - Copyright Christian Holmberg 2011 | |
This program is free software: you can redistribute it and/or modify |