Skip to content

Instantly share code, notes, and snippets.

Avatar
🤠
Yeehaw

Rachel Fish itsrachelfish

🤠
Yeehaw
View GitHub Profile
@itsrachelfish
itsrachelfish / config.js
Last active Jan 19, 2021
Majorleague Website
View config.js
var config =
{
autoload:
{
enabled: false,
// data: require('./autoload/example.js')
}
};
module.exports = config;
View app store censorship.txt
19:01 < rachel> yay censorship :D
19:02 < rachel> let's all cheer that google and apple have the ability to shut down any app they want
19:02 < rachel> definitely don't question the power that gives them
19:04 < rachel> imagine if microsoft could have just uninstalled bittorrent and limewire from people's computers in 2000
19:14 < rachel> there is no other way, realistically, for people to install software onto their phones
19:14 < rachel> no karen is going to install an apk via usb
19:15 < rachel> this was an intentional design decision made by apple and google when they created their phones with app stores, censorship was the purpose all along
19:15 < rachel> they saw the problem with general purpose computing - people could install any software they wanted, and that was a threat to the ruling class
19:24 < rachel> they started out claiming it was for "your protection" to "keep you safe from viruses" but they have become so entrenched into our society that they can now start to show their true purpos
@itsrachelfish
itsrachelfish / error.log
Created Dec 13, 2020
Wetfish blog error
View error.log
Attaching to fishblog
fishblog | internal/modules/cjs/loader.js:883
fishblog | throw err;
fishblog | ^
fishblog |
fishblog | Error: Cannot find module './config'
fishblog | Require stack:
fishblog | - /app/server/main.js
fishblog | at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
fishblog | at Function.Module._load (internal/modules/cjs/loader.js:725:27)
View repl.js
let emilypi = ['hey', 'cool', 'list'];
function headOr(list, defaultValue) {
if(list[0] === undefined) {
return defaultValue;
}
return list[0];
}
View example.html
<html>
<body>
<section>
<article>
<div>
<p>
Lol this is a paragraph
Pretty cool huh?
</p>
@itsrachelfish
itsrachelfish / wetfishonline.conf
Created Apr 16, 2020
Wetfish forums nginx config
View wetfishonline.conf
server {
listen 443 ssl;
server_name staging.wetfishonline.com;
ssl_certificate /etc/letsencrypt/live/staging.wetfishonline.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/staging.wetfishonline.com/privkey.pem; # managed by Certbot
ssl_trusted_certificate /etc/letsencrypt/live/staging.wetfishonline.com/chain.pem; # managed by Certbot
ssl_stapling on; # managed by Certbot
ssl_stapling_verify on; # managed by Certbot
@itsrachelfish
itsrachelfish / build.log
Created Apr 10, 2020
haskell parsers-0.12.10
View build.log
Failed to build parsers-0.12.10.
Configuring library for parsers-0.12.10..
Preprocessing library for parsers-0.12.10..
Building library for parsers-0.12.10..
[1 of 8] Compiling Text.Parser.Combinators ( src/Text/Parser/Combinators.hs, dist/build/Text/Parser/Combinators.o )
[2 of 8] Compiling Text.Parser.Char ( src/Text/Parser/Char.hs, dist/build/Text/Parser/Char.o )
<command line>: can't load .so/.DLL for: /home/rachel/.cabal/store/ghc-8.6.5/unordered-containers-0.2.10.0-50457b032495e76b370911744967d8e1b4ca7d2db037d25f830c43e5bb3280e7/lib/libHSunordered-containers-0.2.10.0-50457b032495e76b370911744967d8e1b4ca7d2db037d25f830c43e5bb3280e7-ghc8.6.5.so (/home/rachel/.cabal/store/ghc-8.6.5/unordered-containers-0.2.10.0-50457b032495e76b370911744967d8e1b4ca7d2db037d25f830c43e5bb3280e7/lib/libHSunordered-containers-0.2.10.0-50457b032495e76b370911744967d8e1b4ca7d2db037d25f830c43e5bb3280e7-ghc8.6.5.so: undefined symbol: base_DataziTypeableziInternal_sameTypeRep_info)
View Login Config Example
module.exports = {
session: {
secret: 'random'
},
mysql: {
username: 'login',
password: 'secure',
database: 'login'
},
@itsrachelfish
itsrachelfish / example.php
Created Jun 19, 2019
Get all admin users
View example.php
$users = User::whereHas('roles', function ($query) {
$query->where('role_id', '=', 1);
})->get();