> pwd
/Users/jonathankim/Desktop
> sqlite3 ~/Library/Application\ Support/Google/Chrome/Default/Web\ Data
sqlite3> .output chrome_export.sql
sqlite3> .dump keywords
| # FIRST, REPLACE UTF-8 characters. | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE28098, "'"); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE28099, "'"); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE2809C, '"'); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE2809D, '"'); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE28093, '-'); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE28094, '--'); | |
| UPDATE `t` SET `c` = REPLACE(`c`, 0xE280A6, '...'); | |
| # NEXT, REPLACE their Windows-1252 equivalents. | |
| UPDATE `t` SET `c` = REPLACE(`c`, CHAR(145), "'"); |
| # Copyright 2014 Dan Krause | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| section .text | |
| global _start | |
| _start: | |
| xor eax, eax ; init eax 0 | |
| xor ebx, ebx ; init ebx 0 | |
| xor esi, esi ; init esi 0 | |
| jmp _socket ; jmp to _socket | |
| _socket_call: |
| #!/usr/bin/env bash | |
| # Documentation | |
| # https://docs.gitlab.com/ce/api/projects.html#list-projects | |
| NAMESPACE="YOUR_NAMESPACE" | |
| BASE_PATH="https://gitlab.example.com/" | |
| PROJECT_SEARCH_PARAM="" | |
| PROJECT_SELECTION="select(.namespace.name == \"$NAMESPACE\")" | |
| PROJECT_PROJECTION="{ "path": .path, "git": .ssh_url_to_repo }" |
| #!/bin/sh | |
| # This script creates a user-mode linux machine based on Ubuntu. | |
| # Created by Clay Smith, May 2017 | |
| # | |
| # based on: https://gist.github.com/aputs/6247216 | |
| # and https://gist.github.com/AVGP/5410903 | |
| set -x |
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| from subprocess import Popen, PIPE | |
| from optparse import OptionParser | |
| def get_result(p): | |
| stdout = p.communicate() |
| #! /bin/bash | |
| set -e | |
| trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG | |
| trap 'echo FAILED COMMAND: $previous_command' EXIT | |
| #------------------------------------------------------------------------------------------- | |
| # This script will download packages for, configure, build and install a GCC cross-compiler. | |
| # Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running. | |
| # If you get an error and need to resume the script from some point in the middle, | |
| # just delete/comment the preceding lines before running it again. |