A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
For Mac users, I highly recommend iTerm 2 + Solarized Dark
>>> import base64 | |
>>> import hashlib | |
>>> base64.b64encode(hashlib.sha1("test").digest()) | |
'qUqP5cyxm6YcTAhz05Hph5gvu9M=' |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<profiles version="1"> | |
<profile kind="CodeFormatterProfile" name="Linux Kernel" version="1"> | |
<setting id="org.eclipse.cdt.core.formatter.insert_space_before_opening_paren_in_method_declaration" value="do not insert"/> | |
<setting id="org.eclipse.cdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/> | |
<setting id="org.eclipse.cdt.core.formatter.insert_new_line_in_empty_block" value="insert"/> | |
<setting id="org.eclipse.cdt.core.formatter.lineSplit" value="80"/> | |
<setting id="org.eclipse.cdt.core.formatter.alignment_for_member_access" value="0"/> | |
<setting id="org.eclipse.cdt.core.formatter.insert_space_before_comma_in_base_types" value="do not insert"/> | |
<setting id="org.eclipse.cdt.core.formatter.keep_else_statement_on_same_line" value="false"/> |
No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.
Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.
#!/bin/bash | |
# Batch change the mode bit (the permission of files and directories) | |
# | |
# USAGE: script_name [path1] [path2]... | |
# script_name | |
# | |
# Author: Jongmin Kim (kdzlvaids@gmail.com) | |
# After Ubuntu 16.04, Systemd becomes the default. | |
# It is simpler than https://gist.github.com/Doowon/38910829898a6624ce4ed554f082c4dd | |
[Unit] | |
Description=Jupyter Notebook | |
[Service] | |
Type=simple | |
PIDFile=/run/jupyter.pid | |
ExecStart=/home/phil/Enthought/Canopy_64bit/User/bin/jupyter-notebook --config=/home/phil/.jupyter/jupyter_notebook_config.py |
#!/bin/bash | |
# This script will create you CA-signed client certificate. | |
# | |
# First, please follow these steps: | |
# - Create the root pair | |
# - Create the intermediate pair | |
# in https://jamielinux.com/docs/openssl-certificate-authority/ | |
# | |
# Second, this script will NOT use attributes defined in your | |
# `openssl.cnf'. Define your C, ST, and O to the head of this |