First off: Thanks, but no thanks Microsoft.
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 | |
# Copyright 2016 The Rust Project Developers. See the COPYRIGHT | |
# file at the top-level directory of this distribution and at | |
# http://rust-lang.org/COPYRIGHT. | |
# | |
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
# option. This file may not be copied, modified, or distributed | |
# except according to those terms. |
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
/* | |
Spoof netsh command. | |
Public domain. | |
- Sam Saint-Pettersen. | |
*/ | |
#include <iostream> | |
int main() { | |
std::cout << "Name : DUMMY_WIFI" << std::endl; |
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
@rem spoof netsh command to test SSID library on Appveyor.yml | |
echo Name : DUMMY_WIFI | |
echo State : connected | |
echo SSID : DUMMY_ID | |
echo Profile : DUMMY_ID |
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
pub struct Dummy { | |
foo: String, | |
bar: String, | |
} | |
impl Dummy { | |
pub fn new(foo: &str, bar: &str) -> Dummy { | |
Dummy { | |
foo: foo.to_owned(), | |
bar: bar.to_owned(), |
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
sh crystal-compiler.sh |
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
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AsIEBo3fEJUeAAAAo9JREFUSMftlV1I01EYxn/nv+Pcn4FMN1dmpFhIEN7URUHlZ2L0cdNV3xAV9EVdSaS4jbmywCsjTIwChYikzJBIhmFBBF2IdRFhIIqZNEIyULf/Pk4XDZoxdRO964Vzdd7zPO95eN/nFUopVjM0VjlWnUDi80EwSGB4mKlYDJMR5av/6kOgMEkxQSC0ANaX9dW3LkXNJnI0DWdxMVgsyHkpQhDwN+wEowb4CZgTbkPAOkBfgGBbwN/Qbj/Q9CGpRJqmMdVbv8PA6ANagRPAGeBs/OwHniyiht3A6J/qrd+saVoCga6DbmG0x1USIvgKaAO6gGzAFC9CAyQQW0Jy+4ya8Y/2uArQLaDriDH9R5aBkT+pJvoNwi80RAtQkOTxGFALHF+MIaKiWETmSJ7IrzZjDsiPsaFG4EgmlgkpTHXAdkAAyxoQi8gkqEJFn9WnbqBLWoX1AfA+oqKtwFFgIP4DlX5LSiJEALAKqwsYlrvGNw0BQ79KrdqbkYEOm8i+CLwDNqSg+Xx5iDCtptldVLo36/VMHwK0DIeDDIcDe/tgp1OsOR9W4TvAVmA83UEMqzB2YT9kbx/sy8j9g/sXYHaW4oM37upCrwXuAVuAiXgnpRQC7WTJHk83c3NJrEIpYpEozhpfs0S6gQ5gI/AtFRIz5nOFZd7OaCQKCQY6XwIFSsXIq2z0Ak0S+QjIByYXI5HIKzn7fG0qVbNTKNZWNtUBt4GnQC7wPRmJRF6zVXlaVEyl66aKnArvZeA+8BywAYF/krw5VZ6by7JrFT+O8uunJfIx8AxwJFTe7CzzuldkH2RXug9L5FvgWBy81VbhqV3RhWMrd58CXkpkr63CdSHVQZdpukFHuvYh/i/9peI3Fs |
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
sudo apt-get install libssl-dev | |
sudo apt-get install libcurl4-openssl-dev | |
sudo apt-get install clibcurl4-openssl-dev pkg-config libssl-dev libsslcommon2-dev |
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 nocompatible " be iMproved (required) | |
filetype off " (required) | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" let Vundle manage Vundle (required) | |
Plugin 'VundleVim/Vundle.vim' |
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 | |
ulimit -n 8192 | |
php-cgi -b 9000 | /opt/caddy/caddy |