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
source $HOME/.zplug/init.zsh | |
zplug "chriskempson/base16-shell", from:github | |
# Install plugins if there are plugins that have not been installed | |
if ! zplug check; then | |
printf "Install? [y/N]: " | |
if read -q; then | |
echo; zplug install | |
fi |
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
local M = {} | |
M.base_30 = { | |
white = "#f8f8f8", | |
darker_black = "#171717", | |
black = "#181818", -- nvim bg | |
black2 = "#262626", | |
one_bg = "#2f2f2f", | |
one_bg2 = "#444444", | |
one_bg3 = "#565656", |
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
[{"id": "1", "latitude": 32.536382, "longitude": -86.64449, "cases": 12},{"id": "2", "latitude": 30.659218, "longitude": -87.746067, "cases": 34},{"id": "3", "latitude": 31.87067, "longitude": -85.405456, "cases": 2},{"id": "4", "latitude": 33.015893, "longitude": -87.127148, "cases": 7},{"id": "5", "latitude": 33.977448, "longitude": -86.567246, "cases": 10},{"id": "6", "latitude": 32.101759, "longitude": -85.717261, "cases": 2},{"id": "7", "latitude": 31.751667, "longitude": -86.681969, "cases": 1},{"id": "8", "latitude": 33.771706, "longitude": -85.822513, "cases": 24},{"id": "9", "latitude": 32.917943, "longitude": -85.391812, "cases": 90},{"id": "10", "latitude": 34.069515, "longitude": -85.654242, "cases": 6},{"id": "11", "latitude": 32.85406, "longitude": -86.726628, "cases": 18},{"id": "12", "latitude": 31.991008, "longitude": -88.248887, "cases": 5},{"id": "13", "latitude": 31.685521, "longitude": -87.818624, "cases": 9},{"id": "14", "latitude": 33.267809, "longitude": -85.862051, "cases": 9},{"id": |
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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.drawerlayout.widget.DrawerLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:id="@+id/drawer_layout" | |
> |
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
(defun tm-compute (loops) | |
(let ((current 1) (ones 0) (complement 0)) | |
(dotimes (loop loops) | |
(setf ones (- (expt 2 (- (length (format nil "0~B" current)) 0)) 1)) | |
(setf complement (- ones current)) | |
(setf current (parse-integer (format nil "~B~B" current complement) :radix 2))) | |
(format t "0~B" current))) | |
; call with: | |
; (tm-compute number-of-loops-to-do) |
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
Fatal Python error: Cannot recover from stack overflow. | |
Current thread 0x00007f86501b8700 (most recent call first): | |
File "/usr/lib/python3.5/threading.py", line 224 in __init__ | |
File "/usr/lib/python3.5/queue.py", line 39 in __init__ | |
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 186 in __init__ | |
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/connectionpool.py", line 732 in __init__ | |
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/poolmanager.py", line 94 in _new_pool | |
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/poolmanager.py", line 128 in connection_from_host | |
File "/usr/local/lib/python3.5/dist-packages/requests/packages/urllib3/poolmanager.py", line 143 in connection_from_url |
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
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 351, in _make_request | |
self._validate_conn(conn) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 814, in _validate_conn | |
conn.connect() | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connection.py", line 289, in connect | |
ssl_version=resolved_ssl_version) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/ssl_.py", line 308, in ssl_wrap_socket | |
return context.wrap_socket(sock, server_hostname=server_hostname) | |
File "/usr/lib/python3.4/ssl.py", line 364, in wrap_socket |
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/python3 | |
#made by pieman2201 | |
#needs files: aliases.txt, locked.txt | |
import requests | |
import json | |
import os | |
import time | |
import random |
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
In 1915, the horse population in the US reached its peak. Since then, the Humane Society reports that the number of horses in the US has dwindled, reaching all time lows. Ultimately, the rapid decline in horses is a direct result of the automobile industry. As a lower cost, more efficient, and easier to use technology became available to the masses, we eagerly discarded the beast of burden which carried us into the 20th century. Automobiles marked the end of useful horses in the same way that robots mark the end of useful humans. Robots are lower cost and more efficient than humans. They are also rapidly becoming more easy to use and more capable. Mechanical minds are smarter, faster, and better than their human equivalents. Ultimately, the rise of robots poses a threat to humankind. We are no longer at the top of the food chain. Let’s start off with the most obvious, yet distant threat of the rise of robots: warfare. Often thought to be a series of bloody battles involving guns and ammunition, the landscape |
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
for (int i = 0; i < 3; i++){ | |
if (((bigBoardStatei0 == MainActivity.move.PLAYERONE || bigBoardStatei0 == move.BOTH) && (bigBoardStatei1 == MainActivity.move.PLAYERONE || bigBoardStatei1 == move.BOTH) && (bigBoardStatei2 == MainActivity.move.PLAYERONE || bigBoardStatei2 == move.BOTH)) || | |
((bigBoardState0i == MainActivity.move.PLAYERONE || bigBoardState0i == move.BOTH) && (bigBoardState1i == MainActivity.move.PLAYERONE || bigBoardState1i == move.BOTH) && (bigBoardState2i == MainActivity.move.PLAYERONE || bigBoardState2i == move.BOTH)) || | |
((bigBoardState00 == MainActivity.move.PLAYERONE || bigBoardState00 == move.BOTH) && (bigBoardState11 == MainActivity.move.PLAYERONE || bigBoardState11 == move.BOTH) && (bigBoardState22 == MainActivity.move.PLAYERONE || bigBoardState22 == move.BOTH)) || | |
((bigBoardState20 == MainActivity.move.PLAYERONE || bigBoardState20 == move.BOTH) && (bigBoardState11 == MainActivity.move.PLAYERONE || bigBoardState |
NewerOlder