Skip to content

Instantly share code, notes, and snippets.

View dreamer's full-sized avatar

Patryk Obara dreamer

  • EU/Poland/Wrocław
View GitHub Profile
#!/bin/sh
#
# Place this in your .git/hooks directory.
#
# This hook looks through commited *.h and *.cpp files and replaces date in
# copyright line with current year. After that it generates new commit with
# automatic message and makes sure we won't get into git commit loop.
#
# @author Patryk Obara <dreamer.tan@gmail.com>
#
org.jboss.modules.ModuleNotFoundException: Module jline:main is not found in local module loader @2063a0e5 (roots: /usr/share/jboss-as/modules)
at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:126)
at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:275)
at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:222)
at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:94)
at org.jboss.modules.Module.addPaths(Module.java:841)
at org.jboss.modules.Module.link(Module.java:1196)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1225)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:208)
at org.jboss.modules.Main.main(Main.java:262)
@dreamer
dreamer / gist:2576568
Created May 2, 2012 13:40
jboss-jaxb-intros-1.0.2.GA-pom.patch
--- jboss-jaxb-intros-1.0.2.GA/pom.xml 2009-12-18 12:40:21.114552000 +0100
+++ jboss-jaxb-intros-1.0.2.GA-work/pom.xml 2012-05-02 15:22:07.156700972 +0200
@@ -49,12 +49,12 @@
<dependency>
<groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
+ <artifactId>apache-commons-beanutils</artifactId>
<version>${commons.beanutils.version}</version>
</dependency>
import java.util.*;
public class Solution {
static String spr(String a) {
int n = a.length();
for (int i = 0; i < n/2; ++i) {
if (a.charAt(i) != a.charAt(n-1-i))
return "No";
}
@dreamer
dreamer / desktop
Last active March 19, 2019 18:02
Steam System Information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
CPU Family: 0x6
This file has been truncated, but you can view the full file.
400,Portal,22 Aug ,Platinum,Completely Stable,,Arch,Mesa git 18.3,i7-4770k / Vega 56,,Default,FALSE,
400,Portal,24 Aug ,Platinum,Completely Stable,Runs excellent,Pop!_OS,Mesa 18.0.5,i7-4600u / iGPU HD 4400,,Default,,https://steamdb.info/app/400/
420,Half-Life 2: Episode 2,27 Aug ,Platinum,Completely Stable,Flawless,Ubuntu 18.04.1 LTS (Kernel 4.15.0 x86_64),4.6.0 NVIDIA 396.54, i7-3930K / GTX 1080 Ti,,3.7-4 Beta,,420
500,Left 4 Dead,22 Aug ,Platinum,Completely Stable,"Just works, I didn't notice any issues.",Manjaro Stable 64-bit (Kernel 4.18.3-1),NVIDIA 396.51,Intel Core i5-8600 / GeForce GTX 1060 3GB,,Default,FALSE,https://store.steampowered.com/app/500/Left_4_Dead/
550,Left 4 Dead 2,27 Aug ,Platinum,Completely Stable,Good Performance,Linux Mint 19 (4.15),Nvido 396,Nvidia 650TI,,Default,,https://store.steampowered.com/app/550/Left_4_Dead_2/https://store.steampowered.com/app/550/Left_4_Dead_2/
630,Alien Swarm,24 Aug ,Bronze,Completely Stable,Works perfect,Linux Mint 19 64-bit (Kernel 4.18.1),NVIDIA 396.54,Ryz
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
CPU Family: 0x6
1048primaryKey
1049primaryKey
1050primaryKey
1051primaryKey
1052primaryKey
1053primaryKey
115primaryKey
1162primaryKey
1163primaryKey
1164primaryKey
This file has been truncated, but you can view the full file.
ERROR: ld.so: object '/home/dreamer_/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dreamer_/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dreamer_/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dreamer_/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
35410.347:0008:0009:trace:module:load_builtin_callback loaded ntdll.dll 0x10380 0x7bc20000
35410.347:0008:0009:trace:module:load_builtin_dll Trying built-in L"kernel32.dll"
35410.347:0008:0009:trace:module:load_dll looking for L"ntdll.dll" in L""
35410.347:0008:0009:trace:module:load_dll Found L"C:\\windows\\system32\\ntdll.dll" for L"ntdll.dll" at 0
Informacje o komputerze:
Producent: Unknown
Model: Unknown
Rodzaj: Komputer stacjonarny
Nie wykryto panelu dotykowego
Informacje o procesorze:
Dostawca CPU: GenuineIntel
Marka procesora: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Rodzina CPU: 0x6