let mut t: 0.0;
let dt = 1.0 / 60.0;
loop {
update(t, dt);
render();
Discover gists
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 python3 | |
# -*- coding: utf-8 -*- | |
"""Convert a music .cue file into a label file. | |
This module will accept an optional string attribute that specifies the input | |
.cue file. If this file is not provided in the call then file-select box will | |
be presented to the user. Output is a .txt file of labels that can be input | |
into Audacity. | |
Examples: |
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/awk -f | |
# This program is a copy of guff, a plot device. https://github.com/silentbicycle/guff | |
# My copy here is written in awk instead of C, has no compelling benefit. | |
# Public domain. @thingskatedid | |
# Run as awk -v x=xyz ... or env variables for stuff? | |
# Assumptions: the data is evenly spaced along the x-axis | |
# TODO: moving average |
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
1 AC_BR_BONANZA Too many newlines in a row... spammy template | |
2 ACCESSDB Message would have been caught by accessdb | |
3 ACCT_PHISHING_MANY Phishing for account information | |
4 AC_DIV_BONANZA Too many divs in a row... spammy template | |
5 AC_FROM_MANY_DOTS Multiple periods in From user name | |
6 AC_HTML_NONSENSE_TAGS Many consecutive multi-letter HTML tags, likely nonsense/spam | |
7 AC_POST_EXTRAS Suspicious URL | |
8 AC_SPAMMY_URI_PATTERNS10 link combos match highly spammy template | |
9 AC_SPAMMY_URI_PATTERNS11 link combos match highly spammy template | |
10 AC_SPAMMY_URI_PATTERNS12 link combos match highly spammy template |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/* | |
******************************************************************************************************************************** | |
Credits: @Jeremy | |
Posted: http://stackoverflow.com/questions/7048839/sql-server-query-to-find-all-permissions-access-for-all-users-in-a-database | |
******************************************************************************************************************************** | |
Security Audit Report | |
1) List all access provisioned to a sql user or windows user/group directly | |
2) List all access provisioned to a sql user or windows user/group through a database or application role | |
3) List all access provisioned to the public role |
http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
- Subdomains: mt0, mt1, mt2, mt3.
- Examples:
- https://mts1.google.com/vt/x=1325&y=3143&z=13
- https://mt1.google.com/vt/lyrs=m&x=1325&y=3143&z=13
- Additional info:
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
<?php | |
/** | |
* JetEngine CCT-related API functions to use in theme or plugin | |
* | |
* Theme usage - include get_theme_file_path( 'jet-engine-cct-api.php' ); | |
* Plugin usage - include PLUGIN_PATH . 'path-to-file-inside-plugin/jet-engine-cct-api.php'; | |
*/ | |
/** |
NewerOlder