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
const fs = require('fs') | |
var combination = Array.from({length: 59049}, (_, num) => ( | |
('0000000000' + Number(num).toString(3)).slice(-10) | |
)) | |
fs.writeFileSync('combos.txt', combination.join('\n')) |
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
#include <iostream> | |
using namespace std; | |
class Distance { | |
int feet; | |
int inches; | |
public: | |
Distance(): feet(0), inches(0){} | |
Distance(int f, int i): feet(f), inches(i){ | |
if (feet < 0 && inches < 0) { |
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
## | |
## Manjaro Linux default mirrorlist | |
## Generated on 2018-03-15 16:20 | |
## | |
## Please use 'pacman-mirrors -f [NUMBER] NUMBER' to modify mirrorlist | |
## (Use 0 for all mirrors) | |
## | |
## Country : Bangladesh |
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
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
typedef string::iterator strit; | |
const string charset("0123456789ABCDEF"); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
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
reset = (cb, interval, timer) -> | |
if timer then clearInterval timer | |
setInterval cb, interval | |
window.jQuery.noConflict() ($) -> | |
console.info '[sonarr-mpv]', 'Modifying page...' | |
findTargets = reset modTargets, 1000, findTargets | |
modtargets = -> | |
noEl = true |
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
appname := myapp | |
CXX := g++ | |
CXXFLAGS := -Wall -g | |
srcfiles := $(wildcard *.cpp) | |
objects := $(srcfiles:.cpp=.o) | |
all: $(appname) |
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
#!/bin/bash | |
codec=/opt/vivaldi/lib/libffmpeg.so | |
if [ ! -f "${codec}.orig" ]; then | |
echo Backing up original libffmpeg.so | |
sudo mv $codec "${codec}.orig" | |
fi | |
echo Installing new libffmpeg.so... | |
sudo mv /usr/share/vivaldi-codecs/libffmpeg.so $codec |
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
#include <bits/stdc++.h> | |
using namespace std; | |
int main() | |
{ | |
long long polygons; | |
cin >> polygons; | |
ostringstream outputText; | |
for (long long c = 0; c < polygons; c++) |
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
# GDM configuration storage | |
[daemon] | |
# Uncoment the line below to force the login screen to use Xorg | |
WaylandEnable=false | |
[security] | |
[xdmcp] |