A collection of links and resources.
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
NatElasticIP: | |
Type: AWS::EC2::EIP | |
NatGateway: | |
Type: AWS::EC2::NatGateway | |
Properties: | |
AllocationId: !GetAtt NatElasticIP.AllocationId | |
SubnetId: !Ref PublicSubnetOne | |
PrivateRouteTable: |
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
InternetGateway: | |
Type: AWS::EC2::InternetGateway | |
GatewayAttachment: | |
Type: AWS::EC2::VPCGatewayAttachment | |
Properties: | |
InternetGatewayId: !Ref InternetGateway | |
VpcId: !Ref VPC | |
PublicRouteTable: |
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
VPC: | |
Type: AWS::EC2::VPC | |
Properties: | |
EnableDnsSupport: true | |
EnableDnsHostnames: true | |
CidrBlock: 10.0.0.0/16 | |
Tags: # You can give | |
- Key: Name # pretty names to | |
Value: ECSFS VPC # your resources. |
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
Parameters: | |
HostedZoneName: | |
Type: String | |
Description: | |
(Optional) If you have a domain available registered with Route 53 you | |
can type it (e.g. 'foo.com.'; do not miss the final dot!). Then a DNS | |
record gets created on subdomain ecsfs.foo.com which will route to the | |
load balancer (the entry point of this application). | |
Conditions: | |
HasHostedZoneName: !Not [ !Equals [ !Ref HostedZoneName, '']] |
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
# ============================================================================= | |
# ANDROID AS DISPLAY SCREEN FOR RASPBERRY PI | |
# ============================================================================= | |
# Sets VNC so you can use your Android phone as display for Raspberry Pi. If | |
# you plug it via USB and use USB Tethering and install the required things | |
# (following steps in this file) it should work. | |
# | |
# Following this resources: | |
# https://www.raspberrypi.org/forums/viewtopic.php?f=41&t=127971 | |
# http://rageweb.info/2013/11/07/bootconfig-txt-in-kali/ |
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
uniform vec3 iResolution; // viewport resolution (in pixels) | |
uniform float iGlobalTime; // shader playback time (in seconds) | |
uniform float iChannelTime[4]; // channel playback time (in seconds) | |
uniform vec3 iChannelResolution[4]; // channel resolution (in pixels) | |
uniform vec4 iMouse; // mouse pixel coords. xy: current (if MLB down), zw: click | |
uniform vec4 iDate; // (year, month, day, time in seconds) | |
uniform bool WithGamma; //! checkbox[true] | |
uniform float Gamma; //! slider[0.1, 2.2, 10] | |
uniform float tete; //! slider[0.0, 0.1, 0.2] |
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
# /////////////////////////////////////// | |
# SSH Tunneling | |
# How it looks like: | |
# [UNI]<-->[CLOUD (relay)]<-->[CLIENT] | |
# UNI: localhost (127.0.0.1) | |
# CLOUD: posvec.xyz (46.101.1.33) | |
# CLIENT: any IP you have or connect from | |
# /////////////////////////////////////// | |
# Steps: |
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 ts=2 tabstop=2 shiftwidth=2 expandtab autoindent | |
autocmd FileType python nnoremap <buffer> <F9> :exec '!python' shellescape(@%, 1)<cr> | |
autocmd FileType javascript nnoremap <buffer> <F9> :exec '!node' shellescape(@%, 1)<cr> |
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
# ///////////////////////////////////////// | |
# Choosing where library will be installed: | |
# ///////////////////////////////////////// | |
# Option 1: | |
./configure --prefix=/path/where/to/install | |
# Options 2: | |
cmake -DCMAKE_INSTALL_PATH=/path/where/to/install . | |
# Option 3: | |
export DESTDIR=/path/where/to/install && make install |