Skip to content

Instantly share code, notes, and snippets.

View hulu-adblock.txt
This file has been truncated, but you can view the full file.
127.0.0.1 000001.ink
127.0.0.1 0001interac.com
127.0.0.1 00043138.com
127.0.0.1 00053138.com
127.0.0.1 00056789.com
127.0.0.1 00063138.com
127.0.0.1 000877009webmaster.000webhostapp.com
127.0.0.1 00093138.com
127.0.0.1 000jq3q.rxportalhosting.com
View advent_of_code_2019_4.ml
let increasing (chr_lst : char list) =
List.fold_left
(fun last_int chr ->
if last_int >= 0 then
let chr_int = int_of_string (String.make 1 chr) in
if last_int <= chr_int then
chr_int
else
(-1)
else
View aoc_3.ml
let wire1 = ["R98" ; "U47" ; "R26" ; "D63" ; "R33" ; "U87" ; "L62" ; "D20" ; "R33" ; "U53" ; "R51"]
let wire2 = ["U98" ; "R91" ; "D20" ; "R16" ; "D67" ; "R40" ; "U7" ; "R15" ; "U6" ; "R7"]
type point = {
x : float ;
y : float
}
type line = {
p1 : point ;
View build.boot
(set-env!
:source-paths #{"src/scss" "src/clj" "src/cljs" "src/cljc"}
:resource-paths #{"html" "resources"}
:dependencies '[[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]
;; server
[compojure "1.6.1"]
[ring/ring-core "1.7.1"]
[ring/ring-jetty-adapter "1.7.1"]
View test_script.py
#!/usr/bin/python
print("hello from python")
@pvik
pvik / i3status.conf
Created Sep 12, 2018
i3 status bar config
View i3status.conf
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@pvik
pvik / home.html
Last active Sep 12, 2018
custom homepage
View home.html
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="favicon.png" />
<title>elric's home</title>
<!--link rel="stylesheet" href="style.css"-->
<style media="screen" type="text/css">
html {
font-family: Hack;
font-size: 16px;
@pvik
pvik / userContent.css
Created Sep 11, 2018
Firefox Customization - userContent.css
View userContent.css
@-moz-document regexp("moz-extension://.+/resources/group-tab.html.*") {
:root {
background: #bbc2cf;
}
}
@pvik
pvik / userChrome.css
Created Sep 11, 2018
Firefox Customization - userChrome.css
View userChrome.css
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* to hide the native tabs */
#TabsToolbar {
visibility: collapse;
}
/* to hide the sidebar header */
#sidebar-header {
visibility: collapse;
@pvik
pvik / tree-style-tab.css
Created Sep 11, 2018
Firefox Tree Style Tab Customization
View tree-style-tab.css
/* tab height */
:root {
--tab-height: 22px !important;
background-color: #000000;
}
.tab {
height: var(--tab-height) !important;
background: #4d4e51;
color: #bbc2cf;
You can’t perform that action at this time.