Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am kingwill101 on github.
* I am kingwill101 (https://keybase.io/kingwill101) on keybase.
* I have a public key whose fingerprint is 688F D552 10BA 9ECE 9171 7C33 DDAA E183 6ABA FCD5
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am kingwill101 on github.
* I am kingwill101 (https://keybase.io/kingwill101) on keybase.
* I have a public key whose fingerprint is 1D4A 7489 B43C 9BA1 FBD5 FB02 6B4A 519E 7D3A 671C
To claim this, I am signing this object:
class Fruit {
final String someString;
Fruit(this.someString);
void printString() {
print(someString);
}
}
@kingwill101
kingwill101 / filter.php
Last active February 22, 2023 05:51
Laravel query builder filtering
<?php
namespace Api\Queries;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Support\Arr;
use Illuminate\Support\Carbon;
@kingwill101
kingwill101 / flutter long build time
Created March 15, 2021 18:59
Output from a extremely long flutter build
[+1122 ms] executing: [/home/kingwill101/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[+6863 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ +2 ms] executing: [/home/kingwill101/flutter/] git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[+28878 ms] Exit code 0 from: git tag --points-at c5a4b4029c0798f37c4a39b479d7cb75daa7b05c
[ ] 2.0.1
[+1013 ms] executing: [/home/kingwill101/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +228 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/stable
[ ] executing: [/home/kingwill101/flutter/] git ls-remote --get-url origin
{% load staticfiles %}
{% load i18n %}
<!DOCTYPE html>
<html>
<head>
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet" type="text/css"/>
<link href="{% static 'css/bootstrap-theme.min.css' %}" rel="stylesheet" type="text/css"/>
<script src="{% static "js/jquery-1.9.1.min.js" %}"></script>
<script src="{% static "js/bootstrap-3.3.6.min.js" %}"></script>
</head>
(vdiscoverpay) [kingwill101@kingtech discoverpay]$ python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/kingwill101/projects/vdiscoverpay/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 350, in execute_from_command_line
utility.execute()
File "/home/kingwill101/projects/vdiscoverpay/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/kingwill101/projects/vdiscoverpay/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
/*
[kingwill101@Science-Dept gopress]$ go run main.go
panic: template: home.gtpl:58: function "sayHello" not defined
goroutine 1 [running]:
html/template.Must(0x0, 0x7f02443b4000, 0xc820169820, 0x7f02443b4000)
/usr/local/go/src/html/template/template.go:330 +0x4b
org/gopress/gopress.init()
/home/kingwill101/Documents/GO/src/org/gopress/gopress/handlers.go:9 +0xdb
main.init()
/**
* A simple program to test the audio equalizer API in LibVLC.
*
* An example build command:
*
* $gcc -std=c99 -I/home/linux/vlc/vlc/include -o equalizer equalizer.c `pkg-config --cflags --libs libvlc`
*
* You may also need to set PKG_CONFIG_PATH first, for example:
*
* $export PKG_CONFIG_PATH=/home/linux/vlc/install/lib/pkgconfig