float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
return mix(rand(fl), rand(fl + 1.0), fc);
}
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
void Tests::test() { | |
disp = XOpenDisplay(NULL); | |
Window window = XDefaultRootWindow(disp); | |
// xdo_get_active_window(xdo1, &window); // Gets CLion Window | |
XSetWindowAttributes attributes; | |
attributes.event_mask = ExposureMask | KeyPressMask | | |
StructureNotifyMask | ButtonReleaseMask | | |
KeyReleaseMask | EnterWindowMask | LeaveWindowMask | | |
PointerMotionMask | Button1MotionMask | VisibilityChangeMask | |
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
Copying net/minecraftforge/fml/common/ModContainer.class | |
Copying net/minecraftforge/fml/common/network/handshake/FMLHandshakeClientState.class | |
Copying net/minecraftforge/event/entity/player/PlayerWakeUpEvent.class | |
Copying net/minecraftforge/oredict/ShapedOreRecipe.class | |
Copying net/minecraftforge/client/model/package-info.class | |
Copying net/minecraftforge/client/GuiIngameForge.class | |
Copying net/minecraftforge/common/config/ConfigElement.class | |
Copying net/minecraftforge/fml/client/config/GuiEditArrayEntries$DoubleEntry.class | |
Copying net/minecraftforge/common/config/ITypeAdapter.class | |
Copying net/minecraftforge/common/config/Config$RequiresMcRestart.class |
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
#include "window.h" | |
#ifndef QT_NO_SYSTEMTRAYICON | |
#include <QAction> | |
#include <QCheckBox> | |
#include <QComboBox> | |
#include <QCoreApplication> | |
#include <QCloseEvent> | |
#include <QGroupBox> | |
#include <QLabel> |
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
[22:25:16] [Netty Epoll Client IO #2/INFO] [STDOUT]: [com.zeitheron.solarflux.net.NetworkSF:client:47]: solarflux:neutronium | |
[22:25:16] [AWT-EventQueue-1/WARN] [Opis]: Unhandled msg : COMMAND_TELEPORT_CHUNK | |
[22:25:16] [AWT-EventQueue-1/WARN] [Opis]: Unhandled msg : COMMAND_TELEPORT_CHUNK | |
[22:25:16] [Thread-54/INFO] [minecraft/GuiNewChat]: [CHAT] WARNING: BuildCraft 7.99.18 is in ALPHA! | |
[22:25:16] [Thread-54/INFO] [minecraft/GuiNewChat]: [CHAT] Report BuildCraft bugs you find here | |
[22:25:16] [Thread-54/INFO] [minecraft/GuiNewChat]: [CHAT] and include the BuildCraft version 7.99.18 in the description | |
[22:25:16] [Thread-54/INFO] [minecraft/GuiNewChat]: [CHAT] If you have performance problems then try disabling | |
[22:25:16] [Thread-54/INFO] [minecraft/GuiNewChat]: [CHAT] everything in the BuildCraft perfomance config section. | |
[22:25:18] [JM-task-5/FATAL] [CodeChickenLib]: A CCL controlled model has been improperly handled by someone and will NOT be rendered. No more information available. | |
[22:25:18] [JM-task- |
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
Dumping listeners for bus: EVENT_BUS | |
Handlers for event: class appeng.api.events.LocatableEventAnnounce | |
NORMAL appeng.core.features.registries.LocatableRegistry updateLocatable(appeng.api.events.LocatableEventAnnounce) | |
Handlers for event: class betterwithmods.api.FeatureEnabledEvent | |
NORMAL squeek.appleskin.helpers.BetterWithModsHelper bwmFeatureEnabled(betterwithmods.api.FeatureEnabledEvent) | |
Handlers for event: class com.enderio.core.common.event.ConfigFileChangedEvent | |
NORMAL com.enderio.core.common.config.AbstractConfigHandler onConfigFileChanged(com.enderio.core.common.event.ConfigFileChangedEvent) | |
NORMAL com.enderio.core.common.config.ConfigProcessor onConfigFileChanged(com.enderio.core.common.event.ConfigFileChangedEvent) |
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
Dumping listeners for bus: EVENT_BUS | |
Handlers for event: class appeng.api.events.LocatableEventAnnounce | |
NORMAL appeng.core.features.registries.LocatableRegistry updateLocatable(appeng.api.events.LocatableEventAnnounce) | |
Handlers for event: class betterquesting.api.events.DatabaseEvent$Update | |
NORMAL betterquesting.handlers.EventHandler onDataUpdated(betterquesting.api.events.DatabaseEvent$Update) | |
Handlers for event: class betterwithmods.api.FeatureEnabledEvent | |
NORMAL squeek.appleskin.helpers.BetterWithModsHelper bwmFeatureEnabled(betterwithmods.api.FeatureEnabledEvent) |
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
# In order to use this you need to increase max_extrude_cross_section in your extruder config or klipper will complain. I set mine to 30 | |
[gcode_macro PURGE_BLOB] | |
gcode: | |
# This is for a 300mm bed. If you have a diferent bed size you may want to adjust the line below | |
{% set rand_pos = (105 + ( printer.system_stats.cputime * 1000 ) % 60) %} ; Generate pseudo random start pos so we dont wear out that one spot on the bed. | |
M117 Purging at X{ rand_pos } | |
# The start pos will be within the "handle" of the flex plate where there is some extra Y space available so we can go all the way to Y0 | |
# If your setup does not have this extra space then just increase the y valie in the line "G1 X{ rand_pos } Y0 Z1 F18000" | |
G92 E0 ; zero the extruder |