As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
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
main_char_lower = {"a": "b","c": "d","e": "f","g": "h","i": "j","k": "l","m": "n","o": "p","q": "r","s": "t","u": "v","w": "x","y": "z"} | |
for key,value in main_char_lower.items(): main_char_lower[value] = key | |
main_char_upper = dict() | |
for key,value in main_char_lower.items(): main_char_upper[key.upper()] = value.upper() | |
main_char_d_lower = dict() | |
for key,value in main_char_lower.items(): main_char_d_lower[value] = key | |
main_char_d_upper = dict() | |
for key,value in main_char_upper.items(): main_char_d_upper[value] = key | |
main_char_num = {"0": "1", "2": "3", "4": "5", "6": "7", "8": "9"} | |
for key,value in main_char_num.items(): main_char_num[value] = key |
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
main_char_lower = {"a": "b","c": "d","e": "f","g": "h","i": "j","k": "l","m": "n","o": "p","q": "r","s": "t","u": "v","w": "x","y": "z"} | |
for key,value in main_char_lower.items(): main_char_lower[value] = key | |
main_char_upper = dict() | |
for key,value in main_char_lower.items(): main_char_upper[key.upper()] = value.upper() | |
main_char_d_lower = dict() | |
for key,value in main_char_lower.items(): main_char_d_lower[value] = key | |
main_char_d_upper = dict() | |
for key,value in main_char_upper.items(): main_char_d_upper[value] = key | |
main_char_num = {"0": "1", "2": "3", "4": "5", "6": "7", "8": "9"} | |
for key,value in main_char_num.items(): main_char_num[value] = key |
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
#!/usr/bin/python | |
import requests | |
import sys | |
import playsound | |
import time | |
try: | |
import readline | |
except: |
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
#!/usr/bin/python | |
from pwn import * | |
import random | |
import time | |
import thread | |
from socket import gethostbyname | |
try: | |
import readline | |
except: | |
pass |
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
# Mailist Grouper | |
import sys | |
print("""\ | |
+-----------------------------+ | |
| Mailist Grouper | | |
| P4kL0nc4t | 24/05/2018 | | |
+-----------------------------+ | |
""") | |
if len(sys.argv) != 2: | |
print("usage: %s <mailist.txt>" % sys.argv[0]) |
Soal UAS Ganjil PPKn Kelas X terdiri dari bagian pilihan ganda dan bagian uraian.
Pembagian kekuasaan (divisions of power) adalah pembagian sistem kekuasaan setiap lembaga negara dalam beberapa bagian (legislatif, eksekutif, dan yudikatif), tetapi satu sama lain tidak terpisahkan. Hal ini memungkinkan terjadinya koordinasi antarlembaga negara.
- Menetapkan dan melaksanakan kebijakan moneter secara berkelanjutan, konsisten, transparan, dan harus mempertimbangkan kebijakan umum pemerintah di bidang perekonomian.
- Mengatur dan menjaga kelancaran sistem pembayaran.
- Mengatur dan mengawasi bank.
- Kimia Analisis: mempelajari tentang analisis bahan-bahan kimia yang terdapat dalam suatu produk.
- Kimia Fisik: fokus kajiannya berupa penentuan energi yang menyertai terjadinya reaksi kimia, sifat fisis zat serta perubahan senyawa kimia.
- Kimia Organik: mempelajari bahan-bahan kimia yang terdapat dalam makhluk hidup.
- Kimia Anorganik: kebalikan dari kimia organik; mempelajari benda mati.
- Kimia Lingkungan: mempelajari tentang segala sesuatu yang terjadi di lingkungan, terutama yang berkaitan dengan pencemaran lingkungan dan cara penanggulangannya.
- Kimia Inti (Radiokimia): mempelajari zat-zat radioaktif.
- Biokimia: cabang ilmu kimia yang sangat erat kaitannya dengan ilmu biologi.
- Kimia Pangan: mempelajari bagaimana cara meningkatkan mutu bahan pangan.
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
import select | |
import socket | |
import socketserver | |
__author__ = 'loncat <[email protected]>' | |
services = [ | |
{ | |
'name': 'ssh', | |
'address': ('127.0.0.1', 22), |
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
""" | |
Usage: python main.py <semester identifier> <student national id list file> | |
Semester identifier consists of year + period (even or odd, 1 or 2) | |
File list.txt contains student nasional identifiers separated by newline character | |
Example: python main.py 20192 list.txt | |
This script has these possible output formats: | |
TOTAL_SCORE,STUDENT_ID,NAME (not sorted, no exception) | |
0,STUDENT_ID,EXCEPTION (not sorted, with exception) |