type TimersTotal struct {
UserID string `gorm:"column:user_id;" json:"-"`
BookkeeperTeamID string `gorm:"column:bookkeeper_team_id;" json:"-"`
TeamID *string `gorm:"column:team_id;" json:"-"`
TaskID *int64 `gorm:"column:task_id;" json:"-"`
TypicalTaskID *int64 `gorm:"column:typical_task_id;" json:"-"`
TotalTimeSec int64 `gorm:"column:total_time_sec;" json:"total_time_sec"`
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
| // ==UserScript== | |
| // @name auchan-prices.user.js | |
| // @version 0.9 | |
| // @description Сортирует по выгоде и показывает цену за кг/л/шт! Нужно нажать ссылку слева снизу. | |
| // @author You | |
| // @match https://www.auchan.ru/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=auchan.ru | |
| // @grant GM_addStyle | |
| // @homepage https://gist.github.com/shtrih/ff9c87707ed34bab081d436de9256e03 | |
| // @supportURL https://gist.github.com/shtrih/ff9c87707ed34bab081d436de9256e03 |
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
| QUERY PLAN | |
| GroupAggregate (cost=16654.78..16654.84 rows=2 width=68) (actual time=627.317..627.339 rows=1 loops=1) | |
| " Group Key: t.date_end, (CASE WHEN ((t.date_end < '2022-12-30'::date) AND ((t.status)::text = 'open'::text)) THEN 'expired'::character varying ELSE t.status END)" | |
| -> Sort (cost=16654.78..16654.79 rows=2 width=44) (actual time=627.292..627.314 rows=1 loops=1) | |
| " Sort Key: t.date_end, (CASE WHEN ((t.date_end < '2022-12-30'::date) AND ((t.status)::text = 'open'::text)) THEN 'expired'::character varying ELSE t.status END)" | |
| Sort Method: quicksort Memory: 25kB | |
| -> Subquery Scan on t (cost=16654.74..16654.77 rows=2 width=44) (actual time=627.273..627.295 rows=1 loops=1) | |
| -> Sort (cost=16654.74..16654.74 rows=2 width=44) (actual time=627.271..627.292 rows=1 loops=1) | |
| " Sort Key: ttt.date_end, ttt.status" | |
| Sort Method: quicksort Memory: 25kB |
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
| //META{"name":"CollapsibleEmbeds"}*// | |
| /* | |
| Check for Updates: https://gist.github.com/shtrih/59a8be1f9ff53f0499c2 | |
| How to install: | |
| 1. If you don't have it, get Discord from https://discordapp.com/apps | |
| 2. Download BetterDiscord for your platform on https://betterdiscord.net/home | |
| 3. Push the button «Raw» then Ctrl + S. | |
| 3. Place the plugin in %appdata%\BetterDiscord\plugins\. | |
| 4. Refresh Discord with Ctrl + Shift + R or just restart Discord completely. | |
| 5. Go to the BetterDiscord settings → plugins tab and check plugin. |
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
| using System; | |
| using System.Windows.Forms; | |
| using GTA; | |
| using GTA.@base; | |
| public class InvincibilityScript: Script { | |
| public InvincibilityScript() { | |
| BindKey(Keys.M, new KeyPressDelegate(ToggleInvincibility)); |
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
| #cs | |
| Reads ChronoUp.txt content and send it's data to specified URL. | |
| #ce | |
| #AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 | |
| #pragma compile(Console, false) | |
| #pragma compile(x64, true) | |
| #pragma compile(Icon, "clock.ico") | |
| #pragma compile(Out, "build/TimeSenderHPG3.exe") | |
| #pragma compile(FileVersion, 1.1.1, 1.1.1) |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: shtrih | |
| * Date: 24.09.2017 | |
| * Time: 21:57 | |
| */ | |
| namespace App\Util; |
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
| // ==UserScript== | |
| // @name tweetdeck-image-to-discord.user.js | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description Repost Image to Discord (or to Slack) via Webhook in one click! | |
| // @author shtrih | |
| // @match https://tweetdeck.twitter.com/* | |
| // @require https://code.jquery.com/jquery-3.3.1.min.js#sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8= | |
| // @grant GM_xmlhttpRequest | |
| // @connect discordapp.com |
NewerOlder