View oembed-patcher.php
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 | |
/** | |
* Plugin Name: oEmbed Patcher | |
* Description: Removes useless metadata from WordPress oEmbeds | |
* Version: 1.0.0 | |
* Author: Loki Rautio AKA codeHusky | |
*/ | |
// Be sure to enclose this in a folder of the same name as the file (minus .php). | |
// e.g. /wp-content/plugins/oembed-patcher/oembed-patcher.php |
View awful.cpp
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
/* | |
* SocketClient.cpp | |
* | |
* Created on: Feb 20, 2018 | |
* Author: Programming | |
*/ | |
#include "SocketClient.h" | |
#include <Robot.h> | |
#include <WPILib.h> |
View gist:11faec6d7b9dc2befe7c5b7bcaf9b1c0
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
C:\Users\Loki\Documents\SpongePowered\Lantern\Lantern>gradlew genIntelliJRunConfigurations | |
> Task :test-server:genIntelliJRunConfigurations FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':test-server:genIntelliJRunConfigurations'. | |
> Unable to find the RunManager node, please try to regenerate the intellij project files to resolve this issue. | |
* Try: |
View gist:ba7134fa697415e61a182070215608da
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
Loaded: "io.netty:netty-all:4.1.24.Final" | |
Loaded: "com.typesafe:config:1.3.1" | |
Loaded: "org.apache.logging.log4j:log4j-core:2.11.0" | |
Loaded: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.0" | |
Loaded: "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.0" | |
Loaded: "org.apache.logging.log4j:log4j-iostreams:2.11.0" | |
Loaded: "org.yaml:snakeyaml:1.18" | |
Loaded: "org.mariadb.jdbc:mariadb-java-client:2.2.3" | |
Loaded: "net.java.dev.jna:jna:4.5.2" | |
Loaded: "org.slf4j:slf4j-api:1.8.0-alpha2" |
View err.txt
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
gcc4-armv6-alpine-linux-muslgnueabihf-ld: arch/arm/mach-msm/built-in.o: in function `LGF_ScreenShot': | |
/home/pmos/build/src/android_kernel_lg_envt2-9e51b682f41702a682ba390250af35e8d5fc9208/arch/arm/mach-msm/lge/lg_diag_screen_shot.c:186: undefined reference to `diagpkt_alloc' | |
gcc4-armv6-alpine-linux-muslgnueabihf-ld: /home/pmos/build/src/android_kernel_lg_envt2-9e51b682f41702a682ba390250af35e8d5fc9208/arch/arm/mach-msm/lge/lg_diag_screen_shot.c:225: undefined reference to `diagpkt_alloc' | |
gcc4-armv6-alpine-linux-muslgnueabihf-ld: /home/pmos/build/src/android_kernel_lg_envt2-9e51b682f41702a682ba390250af35e8d5fc9208/arch/arm/mach-msm/lge/lg_diag_screen_shot.c:274: undefined reference to `diagpkt_alloc' | |
gcc4-armv6-alpine-linux-muslgnueabihf-ld: /home/pmos/build/src/android_kernel_lg_envt2-9e51b682f41702a682ba390250af35e8d5fc9208/arch/arm/mach-msm/lge/lg_diag_screen_shot.c:296: undefined reference to `diagpkt_alloc' | |
gcc4-armv6-alpine-linux-muslgnueabihf-ld: arch/arm/mach-msm/built-in.o: in function `LGF_TestMode': |
View example huskyui 0.5.0.java
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
RunnableAction testAction = new RunnableAction(registry, ActionType.NONE,""); | |
testAction.setRunnable(context -> { | |
StateContainer container = new StateContainer(); | |
Page testPage = Page.builder() | |
.setTitle(Text.of("WOAH")) | |
.build("testpage"); | |
container.setInitialState(testPage); | |
container.launchFor(context.getObserver()); | |
}); | |
ActionableElement testElement = new ActionableElement( |
View HuskyUI v0.5.0 example.java
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
StateContainer container = new StateContainer(); | |
container.addState( | |
Page.builder() | |
.setUpdatable(true) | |
.setUpdater(page -> { | |
int count = 0; | |
for(Inventory slot: page.getPageView().slots()){ | |
if(!slot.peek().isPresent() && count == page.getTicks()%page.getPageView().capacity()){ | |
slot.set(ItemStack.of(ItemTypes.STAINED_GLASS_PANE,count)); |
View cover.css
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
/* | |
* Globals | |
*/ | |
/* Links */ | |
a, | |
a:focus, | |
a:hover { | |
color: #fff; | |
} |
View t.js
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
var sio = require("socket.io"); | |
var io = sio(1000); | |
console.log("Listening on port 1000"); | |
io.on("connection", function(socket){ | |
console.log("Connection"); | |
socket.on("getUserInfo", function(userId) { | |
Chat.getUserInfo(socket, userId); | |
}); | |
socket.on("fetchRoom", function(rid){ |
View gist:8a2f8e104076e12bc3ce
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
Error:(68, 17) java: cannot find symbol | |
symbol: method setDefaultOptions(ninja.leaping.configurate.ConfigurationOptions) | |
location: class ninja.leaping.configurate.hocon.HoconConfigurationLoader.Builder |
NewerOlder