This file contains hidden or 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/sh | |
| curl -k --user '[USER]:[PWD]' 'https://api.github.com/repos/octocat/Hello-World/issues?state=closed' | jq -r '.[] | "- \(.title) [#\(.number)] \(.milestone.title)"' |
This file contains hidden or 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 | |
| // RUNNABLE IN atk/demos DIR (VERSION 2.0.4) | |
| // https://github.com/atk4/ui/issues/1081 | |
| require 'init.php'; | |
| require 'database.php'; | |
| class MyForm extends \atk4\ui\Form { | |
| function setModel($m, $fields = null) { | |
| parent::setModel($m, false); |
This file contains hidden or 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
| ' WinScript Advanced 1.7 (Total Commander) | |
| ' https://totalcmd.net/plugring/WinScriptAdv.html | |
| Dim fs, f, lngUnixTime | |
| Set fs = CreateObject("Scripting.FileSystemObject") | |
| Set f = fs.GetFile(filename) | |
| ' lngUnixTime = DateDiff("s", "01/01/1970 00:00:00", Now) | |
| lngUnixTime = DateDiff("s", "01/01/1970 00:00:00", f.DateCreated) |