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
package main | |
import ( | |
"github.com/faiface/pixel" | |
"github.com/faiface/pixel/imdraw" | |
"github.com/faiface/pixel/pixelgl" | |
"image/color" | |
) | |
func run() { |
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
---- Minecraft Crash Report ---- | |
// I let you down. Sorry :( | |
Time: 2024-04-04 12:17:41 | |
Description: Exception ticking world | |
java.lang.IllegalArgumentException: Cannot set property IntegerProperty{name=age, clazz=class java.lang.Integer, values=[0, 1, 2, 3]} as it does not exist in Block{minecraft:air} | |
at net.minecraft.world.level.block.state.StateHolder.m_61124_(StateHolder.java:117) ~[server-1.19.2-20220805.130853-srg.jar%23471!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ferritecore.fastmap.mixin.json:FastMapStateHolderMixin,pl:mixin:A} | |
at net.joefoxe.hexerei.block.custom.PickableDoubleFlower.m_214148_(PickableDoubleFlower.java:187) ~[hexerei-0.3.3.1.jar%23387!/:0.3.3.1] {re:classloading} | |
at vectorwing.farmersdelight.common.block.RichSoilFarmlandBlock.m_213898_(RichSoilFarmlandBlock.java:85) ~[FarmersDelight-1.19.2-1.2.4.jar%23368!/:1.19.2-1.2.4] {re:classloading} |
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
{ | |
"auditfile": { | |
"-Id": "???", | |
"header": { | |
"fiscalYear": "str1234", | |
"startDate": "2012-12-13", | |
"endDate": "2012-12-13", | |
"curCode": "AED", | |
"dateCreated": "2012-12-13", | |
"timeCreated": "12:12:12", |
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
package vgs | |
import ( | |
"html/template" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) | |
// Run runs the application and sets up the relevant routes |
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
Keep first position while rotating rest of array | |
[home teams] | |
1,2 | |
3,4 | |
[away teams] | |
1,3 | |
4,2 |
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
2 x 7g yeast | |
125ml warm milk | |
250g plain flour | |
35g powdered sugar | |
35g soft butter | |
pinch salt | |
100g soft butter | |
100g powdered sugar | |
2 teaspoons cinnamon |
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
package main | |
// Created by Markus Tenghamn @ GoPHP.io | |
// | |
// Post a simple Slack message using a bot | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" |
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 | |
/** | |
* Created by Markus Tenghamn @ GoPHP.io | |
* Date: 2018-12-29 | |
* Time: 12:47 | |
* | |
* Post a simple slack message using a bot. You can run this in a console with 'php slack.php' | |
* | |
* See my blog post at https://gophp.io/developing-slack-bots-with-php-part-1 for a guide on how this works | |
*/ |
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
package main | |
// Scratch File for https://github.com/markustenghamn/bittrex-trading-bot | |
import "log" | |
func main() { | |
var1 := 0.000273 | |
var2 := 0.0002733 | |
var3 := 0.0002734 |
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
foreach ($tournament->groups as $group) { | |
$i = 0; | |
foreach ($group->games->all() as $game) { | |
$x = 0; | |
foreach ($game->teams as $team) { | |
foreach ($teams as $t) { | |
if ($t == $team->name) { | |
break; | |
} | |
} |
NewerOlder