I hereby claim:
- I am andy-berry-dev on github.
- I am andy_berry_dev (https://keybase.io/andy_berry_dev) on keybase.
- I have a public key ASAoCcxxK-D2wy-GFDb7LQiRpVSrvDbj-ctFQCNLfz1flgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # save to ~/.config/slackstatus/config.sh | |
| export DEFAULT_TEAM="SomeTeam" | |
| export TOKEN_SOMETEAM="<TOKEN>" |
| <?php | |
| use App\Extensions\Relations\BelongsToMany; | |
| abstract class AbstractModel extends Model | |
| { | |
| /* | |
| * This is copied AS IS from \Illuminate\Database\Eloquent\Model@belongsToMany but instead uses our own BelongsToMany class | |
| */ |
A script to backup MySQL databases and website data. Backs up all databases to individual gzipped files and each directory in WWW_DATA_DIR to individual gzipped tar archives.
backup_env.sh is used to set the neccessary config. This must exist next to the backup script.backup.sh is the script itself. Download an execute using ./backup.sh.DRY_RUN to anything other than 'false' to check what commands will execute.| var https = require('https'); | |
| var storesUrl = 'https://reserve.cdn-apple.com/GB/en_GB/reserve/iPhone/stores.json'; | |
| var stockUrl = 'https://reserve.cdn-apple.com/GB/en_GB/reserve/iPhone/availability.json'; | |
| var stockLastUpdated; | |
| var stores; | |
| var stock; |
| *** DURING 100% - other BRJS process (running test server): | |
| 2014-07-15 14:04:13 | |
| Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.0-b56 mixed mode): | |
| "Thread-8" prio=5 tid=0x00007fd52c281000 nid=0x6403 runnable [0x0000000118860000] | |
| java.lang.Thread.State: RUNNABLE | |
| at java.io.FileInputStream.readBytes(Native Method) | |
| at java.io.FileInputStream.read(FileInputStream.java:272) | |
| at java.io.BufferedInputStream.read1(BufferedInputStream.java:273) |
| if (project.plugins.hasPlugin(JavaPlugin)) { | |
| configurations { | |
| testIntegrationCompile { | |
| extendsFrom testCompile | |
| } | |
| testIntegrationRuntime { | |
| extendsFrom testRuntime | |
| } | |
| } |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css"> | |
| <style> | |
| iframe { | |
| width:100%; | |
| height:500px; |
| javascript:(function(){ | |
| var sizeStringPrefix = "size ", | |
| size = 0; | |
| milestoneTitle = ""; | |
| jQuery(".issue-milestone .css-truncate-target").each(function() { | |
| var thisMilestone = $(this).text().trim(); | |
| if (milestoneTitle.indexOf(thisMilestone) == -1) { | |
| milestoneTitle += " " + thisMilestone; | |
| } |