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
| var Snockets = require('snockets'), | |
| snockets = new Snockets(), | |
| assets = {}; | |
| exports.snockets = function(file, path, index, isLast, callback) { | |
| return snockets.getConcatenation(path, { | |
| // minify: true | |
| }, function(err, js) { | |
| if (js) { |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters] | |
| "DisableServerHeader"=dword:00000001 |
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
| updating cache ./config.cache | |
| creating ./config.status | |
| creating Makefile | |
| sed: file conftest.s1 line 26: unterminated `s' command | |
| creating Src/Makefile | |
| sed: file conftest.s1 line 26: unterminated `s' command | |
| creating Doc/Makefile | |
| sed: file conftest.s1 line 26: unterminated `s' command | |
| creating Etc/Makefile | |
| sed: file conftest.s1 line 26: unterminated `s' command |
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(CMAKE_C_COMPILER clang) | |
| set(CMAKE_CXX_COMPILER clang++) | |
| project(hello) | |
| add_executable(hello hello.c) |
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
| CC=clang | |
| CFLAGS=-c -Wall | |
| LDFLAGS= | |
| SOURCES=hello.c | |
| OBJECTS=$(SOURCES:.c=.o) | |
| EXECUTABLE=hello | |
| all: $(SOURCES) $(EXECUTABLE) | |
| $(EXECUTABLE): $(OBJECTS) |
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
| Whoami /groups /fo csv /nh|Find "12288" | |
| Whoami /groups /fo csv /nh|Find "12288">Nul&&Goto RestOfScript |
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 | |
| UNAME=$(uname) | |
| if [ "$UNAME" == "Linux" ] ; then | |
| echo "Linux" | |
| elif [ "$UNAME" == "Darwin" ] ; then | |
| echo "Darwin" | |
| elif [[ "$UNAME" == CYGWIN* || "$UNAME" == MINGW* ]] ; then |
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 | |
| set -e | |
| if [ -d ~/.dotfiles ] | |
| then | |
| echo "You already have .dotfiles installed. You'll need to remove ~/.dotfiles if you want to install" | |
| exit 1 | |
| fi | |
| echo "Cloning .dotfiles" |
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
| private async Task BatchPoll() | |
| { | |
| var cts = new CancellationTokenSource(); | |
| var task = CloudQueuePoller.Poll(c => | |
| { | |
| var connectionString = "UseDevelopmentStorage=true"; | |
| var storageAccount = CloudStorageAccount.Parse(connectionString); | |
| var queueClient = storageAccount.CreateCloudQueueClient(); | |
| var queue = queueClient.GetQueueReference(QueueName); |
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
| #define ASYNC_TARGETTING_PACK | |
| // http://blog.smarx.com/posts/managing-concurrency-in-windows-azure-with-leases | |
| namespace BlobLeaser | |
| { | |
| using System; | |
| using System.IO; | |
| using System.Net; | |
| using System.Threading; |