Skip to content

Instantly share code, notes, and snippets.

View bangbambang's full-sized avatar

Bambang Catur Pamungkas bangbambang

View GitHub Profile
@bangbambang
bangbambang / meta-tags.md
Created December 12, 2019 22:51 — forked from lancejpollard/meta-tags.md
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
[10545.182913] ath10k_pci 0000:05:00.0: [00]: 0x00034400 4294967295 4294967295 4294967295 4294967295
[10545.309083] ath10k_pci 0000:05:00.0: [01]: 0x00034800 4294967295 4294967295 4294967295 4294967295
[10545.435191] ath10k_pci 0000:05:00.0: [02]: 0x00034c00 4294967295 4294967295 4294967295 4294967295
[10545.561348] ath10k_pci 0000:05:00.0: [03]: 0x00035000 4294967295 4294967295 4294967295 4294967295
[10545.687510] ath10k_pci 0000:05:00.0: [04]: 0x00035400 4294967295 4294967295 4294967295 4294967295
[10545.813637] ath10k_pci 0000:05:00.0: [05]: 0x00035800 4294967295 4294967295 4294967295 4294967295
[10545.939758] ath10k_pci 0000:05:00.0: [06]: 0x00035c00 4294967295 4294967295 4294967295 4294967295
[10546.065907] ath10k_pci 0000:05:00.0: [07]: 0x00036000 4294967295 4294967295 4294967295 4294967295
[10546.065918] ath10k_pci 0000:05:00.0: failed to reset chip: -5
[10546.065919] ath10k_pci 0000:05:00.0: Could not init hif: -5
@bangbambang
bangbambang / tmux-cheatsheet.markdown
Created February 1, 2018 04:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@bangbambang
bangbambang / scrambledEggs.py
Created September 1, 2016 04:11 — forked from dylnmc/scrambledEggs.py
Hungry? Have some scrambled eggs!
#!/usr/bin/env python3
if __name__ == '__main__':
from sys import platform
if not platform.startswith('linux'):
from sys import stderr
print('Sorry; this only works in Linux!', file=stderr)
exit(1)
from os import system
from random import randint
version: '2'
services:
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: katakunci
MYSQL_DATABASE: symfony
MYSQL_USER: root
diff -Naur qrfcview-0.62/src/mainwindow.cpp qrfcview-0.62.new/src/mainwindow.cpp
--- qrfcview-0.62/src/mainwindow.cpp 2006-01-13 16:56:45.000000000 +0700
+++ qrfcview-0.62.new/src/mainwindow.cpp 2016-05-18 20:41:58.370324073 +0700
@@ -123,7 +123,7 @@
// Load a RFC number
bool bOK;
int iRFCNum = QInputDialog::getInteger(this, tr("Please enter a RFC number"),
- tr("RFC#:"), 0, 1, 5000, 1, &bOK);
+ tr("RFC#:"), 0, 1, 9999, 1, &bOK);
if (bOK)
@bangbambang
bangbambang / install-comodo-ssl-cert-for-nginx.rst
Created May 11, 2016 00:57 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@bangbambang
bangbambang / curl.md
Last active August 29, 2015 14:14 — forked from btoone/curl.md

Introduction

An introduction to curl using GitHub's API

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin
" Settings
set noautofocus
set cncpcompletion
set nosmoothscroll
set nohud
set autohidecursor
set typelinkhints
let scrollduration = 10
let searchlimit = 40
@bangbambang
bangbambang / aweror.lua
Created December 28, 2014 19:35
Run or raise
-- aweror.lua
-- Save this file as "aweror.lua" in awesome's system library directory "/usr/local/share/awesome/lib",
-- "/usr/share/awesome/lib", or your own config directory "~/.config/awesome/".
-- You will also need a "ror.lua" file (contains your key bindings) in your config directory.
-- Now you need to generate and add the keybindings in your ~/.config/awesome/rc.lua
-- In the rc.lua file there will be a "root.keys(globalkeys)" command that sets
-- your keys, you need to add the following lines just before that command:
--
-- local ror = require("aweror")
-- globalkeys = awful.util.table.join(globalkeys, ror.genkeys(modkey))