Skip to content

Instantly share code, notes, and snippets.

@axzxc1236
axzxc1236 / gist:e005ca9598b5602060d3
Created January 21, 2015 12:44
Technic launcher can't start
[B#231] 2015/01/21 20:37:32 [資訊] Console Mode Activated
[B#231] 2015/01/21 20:37:32 [資訊] Launching command: 'javaw -Xmx256m -Djava.net.preferIPv4Stack=true -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -cp /F:/technic/TechnicLauncher.jar net.technicpack.launcher.LauncherMain '
[B#231] 2015/01/21 20:37:41 [資訊] Console Mode Activated
[B#231] 2015/01/21 20:37:41 [嚴重] java.io.FileNotFoundException: File 'F:\technic\assets\launcher\OpenSans+Cyberbit.ttf' does not exist
[B#231] 2015/01/21 20:37:41 [嚴重] at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299)
[B#231] 2015/01/21 20:37:41 [嚴重] at net.technicpack.ui.lang.ResourceLoader.getFontByName(ResourceLoader.java:72)
[B#231] 2015/01/21 20:37:41 [嚴重] at net.technicpack.ui.lang.ResourceLoader.getFont(ResourceLoader.java:313)
[B#231] 2015/01/21 20:37:41 [嚴重] at net.technicpack.ui.lang.ResourceLoader.getFont(ResourceLoader.java:309)
[B#231] 2015/01/21 20:37:41 [嚴重] at net.technicpack.launcher.autoupdate.TechnicRelauncher.buildUpdaterTasks(T
@axzxc1236
axzxc1236 / gist:6b187beea07478e01f15
Created June 16, 2015 12:29
TinyModularThings crash
---- Minecraft Crash Report ----
// I feel sad now :(
Time: 2015/6/16 下午 7:33
Description: Initializing game
java.lang.NullPointerException
at net.minecraft.item.ItemStack.<init>(ItemStack.java:87)
at speiger.src.tinymodularthings.common.enums.EnumIngots.getIngot(EnumIngots.java:24)
at speiger.src.tinymodularthings.common.recipes.pressureFurnace.PressureRecipes.initRecipes(PressureRecipes.java:16)
@axzxc1236
axzxc1236 / gist:1550dc587a9d10f23c2a
Created June 17, 2015 07:34
SpmodAPI related crash
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 6/17/15 3:29 PM
Description: Initializing game
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
at java.util.ArrayList$Itr.next(ArrayList.java:851)
at speiger.src.spmodapi.common.plugins.BC.core.BCAddon.init(BCAddon.java:32)
class ABCDEFG
{
public static void main(String[] args)
{
System.out.print(" ");
for (int i = 1; i <= 9; i++) {
if (i*18<100) System.out.print(" " + i);
if (i*18>100) System.out.print(" " + i);
}
for (int i = 10; i <= 18; i++) System.out.print(" " + i);
@axzxc1236
axzxc1236 / gist:00a5a5d995b2e9c0a107
Created March 17, 2016 10:20
Buildcraft crash report crash-2016-03-17_18.05.20-client.txt
---- Minecraft Crash Report ----
WARNING: coremods are present:
TransformerLoader (OpenComputers-MC1.8.9-1.6.0.2-beta.1.jar)
InputFix (InputFix-1.8.x-v2.jar)
LoadingPlugin (ChunkAnimator-MC1.8.8-1.1.jar)
FMLPlugin (InventoryTweaks-1.60-40.jar)
LoadingPlugin (HardcoreDarkness-MC1.8.8-1.8.jar)
CoreXU2 (extrautils2-1.8.9-alpha--0.0.0.jar)
ShadowMCCore (ShadowMC-1.8.9-3.0.0-SNAPSHOT.jar)
@axzxc1236
axzxc1236 / gist:680d6bf58fb0b65dd718e106452371a8
Last active March 24, 2019 05:08
[VB.NET] Access WPF Datagrid with texts
I don't know why I can't find this on Google. (I tried and found *nothing* helpful)
Given the DataGrid below
<DataGrid x:Name="DataGrid1" HorizontalAlignment="Left" Height="229" Margin="70,96,0,0" VerticalAlignment="Top" Width="497">
<DataGrid.Columns>
<DataGridTextColumn Binding="{Binding A}" ClipboardContentBinding="{x:Null}" Header="A"/>
<DataGridTextColumn Binding="{Binding B}" ClipboardContentBinding="{x:Null}" Header="B"/>
<DataGridTextColumn Binding="{Binding C}" ClipboardContentBinding="{x:Null}" Header="C"/>
</DataGrid.Columns>
@axzxc1236
axzxc1236 / waitForKeyElements.js
Created July 29, 2019 12:32 — forked from BrockA/waitForKeyElements.js
A utility function, for Greasemonkey scripts, that detects and handles AJAXed content.
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
waitForKeyElements (
"div.comments"
, commentCallbackFunction
);
@axzxc1236
axzxc1236 / # unar - 2019-08-09_04-11-27.txt
Created August 9, 2019 04:14
unar on Ubuntu 18.04.3 LTS - Homebrew build logs
Homebrew build logs for unar on Ubuntu 18.04.3 LTS
Build date: 2019-08-09 04:11:27
@axzxc1236
axzxc1236 / waitForKeyElements.min.js
Created October 3, 2019 05:57
Minified version of waitForKeyElements.js
//Minified version of https://gist.github.com/BrockA/2625891
//Original author: https://gist.github.com/BrockA
//Modification made: Minified JS file.
//License: CC BY-NC-SA 4.0
function waitForKeyElements(e,t,a,n){var o,r;(o=void 0===n?$(e):$(n).contents().find(e))&&o.length>0?(r=!0,o.each(function(){var e=$(this);e.data("alreadyFound")||!1||(t(e)?r=!1:e.data("alreadyFound",!0))})):r=!1;var l=waitForKeyElements.controlObj||{},i=e.replace(/[^\w]/g,"_"),c=l[i];r&&a&&c?(clearInterval(c),delete l[i]):c||(c=setInterval(function(){waitForKeyElements(e,t,a,n)},300),l[i]=c),waitForKeyElements.controlObj=l}
@axzxc1236
axzxc1236 / # openssl@1.1 - 2020-01-23_10-57-07.txt
Created January 23, 2020 03:03
openssl@1.1 on Ubuntu 18.04.3 LTS - Homebrew build logs
Homebrew build logs for openssl@1.1 on Ubuntu 18.04.3 LTS
Build date: 2020-01-23 10:57:07