CCCPaste

Program LA 2B

def gange():
print ("Ganjil Genap")
bil=int(raw_input("Masukan Sebuah Bilangan : "))
if (bil%2)==0:
print("Bilangan Genap")

JSON Formatted Address from Google Maps API

#Get Formatted Address from Google Maps API JSON
wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|{"formatted_address"}'

#or just result
wget -O- -q "http://maps.google.com/maps/api/geocode/json?address=123 pine street&sensor=false"|jq -r '.results[0]|.formatted_address'

13. Point in the Figure

import java.util.Scanner;

/**
* Created by entropy on 3/31/2017.
*/

Enable Network Bridge on C.H.I.P. Computer

#Enable Network Bridge on C.H.I.P. Computer
#[on Desktop]
brctl addbr br0
brctl addif br0 <eth0> #change <eth0> to your network device
ifconfig br0 192.168.1.123 netmask 255.255.0.0

Android Start Termux shell from ADB

#!/system/bin/sh

if [ `whoami` != 'root' ]
then
echo "You need to be root"

netcat webserver notes

#webservers using netcat, busybox nc, or ncat
#this will work with the full version of ncat, but busybox nc doesn't have '-c' builtin
ncat -l -p 8000 -c 'echo -e "HTTP/1.1 200 OK\r\n$(date)\r\n\r\n";echo "<p>How are you today?</p>"'

#this is more universal

Linux Directory/Folder Encryption

#https://www.howtoforge.com/tutorial/how-to-encrypt-directories-and-partitions-with-ecryptfs-on-debian/
sudo apt install ecryptfs-utils
sudo mount -t ecryptfs <folder> <folder>

##############output################

List of VIM Plugins

https://raw.githubusercontent.com/tpope/vim-surround/master/plugin/surround.vim

AOS CSS Scroll Animations with jQuery

<!DOCTYPE html>
<html lang="en">
<head>
<title>Animation</title>
<meta charset="utf-8">

Very Basic Animate CSS examples with jQuery

<!DOCTYPE html>
<html lang="en">
<head>
<title>Animation</title>
<meta charset="utf-8">