Skip to content

Instantly share code, notes, and snippets.

Avatar

Henrique Vicente henvic

View GitHub Profile
@jessfraz
jessfraz / boxstarter.ps1
Last active Aug 12, 2022
Boxstarter Commands for a new Windows box.
View boxstarter.ps1
# Description: Boxstarter Script
# Author: Jess Frazelle <jess@linux.com>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@avafloww
avafloww / PhpJava.java
Last active Aug 28, 2021
This snippet of code is syntactically valid in both PHP and Java, and produces the same output in both.
View PhpJava.java
/*<?php
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
//\u000A\u002F\u002A
class PhpJava {
static function main() {
echo(//\u000A\u002A\u002F
"Hello World!");
}}
//\u000A\u002F\u002A
PhpJava::main();
@jamsinclair
jamsinclair / shrug.md
Last active Jul 19, 2022
Markdown Escaped Shrug
View shrug.md

¯\_(ツ)_/¯

@michaljemala
michaljemala / tls-client.go
Last active Sep 27, 2022
SSL Client Authentication Golang sample
View tls-client.go
package main
import (
"crypto/tls"
"crypto/x509"
"flag"
"io/ioutil"
"log"
"net/http"
)
@avelino
avelino / gist:1531375
Created Dec 29, 2011
++[[]][+[]]+[+[]]
View gist:1531375
> test = []
[]
> test = test + 1
"1"
> typeof test
"string"
------------------------------------