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
cat sessionstore.js | jq -j '.windows[0].tabs[].entries[0] | "<a href=\"\(.url)\">\(.title)</a><br/><br/>"' > list.html |
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
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4030011,76,1,100,0); -- Dated Bronze Gladius 4 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4030005,76,1,40,0); -- Dated Brass Gladius 1 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4030012,76,1,101,0); -- Dated Iron Gladius 5 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4030301,76,4,0,0); -- Dated Iron Falchion 1 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4030302,76,4,10,0); -- Dated Toothed Falchion 1 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics(catalogID,weaponId,equipmentId,variantId,colorId) VALUES (4020101,56,2,0,0); -- Dated Leather Himantes 1 | |
REPLACE INTO ffxiv_server.gamedata_items_graphics_extra(catalogID,offHandWeaponId,offHandEquipmentId |
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
diff --git a/libs/flake/text/KoSvgTextShape.cpp b/libs/flake/text/KoSvgTextShape.cpp | |
index c829e57f2a..735874f43e 100644 | |
--- a/libs/flake/text/KoSvgTextShape.cpp | |
+++ b/libs/flake/text/KoSvgTextShape.cpp | |
@@ -127,9 +127,16 @@ void KoSvgTextShape::paintComponent(QPainter &painter, const KoViewConverter &co | |
} | |
applyConversion(painter, converter); | |
+ | |
+ // Disable anti-aliasing for scaled (large font) text |
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
# [["name1", "name2"], ["name3", "name4"]] | |
def fixBones(boneArray): | |
for anim in bpy.data.actions: | |
for fc in anim.fcurves: | |
d = fc.data_path | |
if d.rpartition(".")[2] == "scale": | |
anim.fcurves.remove(fc) | |
else: | |
for i in boneArray: | |
o = str.format('"{}"', i[0]) |
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
# PAL capture -> 720p60 youtube live | |
ffmpeg.exe -y -f dshow -i video="Hauppauge Cx23100 Video Capture":audio="Hauppauge Cx23100 Audio Capture" -c:v libx264 -b:v "2500k" -filter:v "yadif=1, scale=900:720:flags=lanczos, pad=1280:720:190:0" -preset fast -r 60 -bufsize 512k -rtbufsize 512k -f flv "rtmp://a.rtmp.youtube.com/live2/KEY" |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <math.h> | |
int main(int argc, char ** argv) | |
{ | |
double res = 0; | |
float x = 0; | |
if(argc == 2) | |
x = strtof(argv[1], NULL); |
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
#!/bin/python | |
import urllib.request, json, argparse | |
# python miui.py --category='Simple' --h | sort -k2h | |
# - will print Featured themes in category Simple, sorted by size | |
# this script doesn't work anymore, but i thought i'd upload it. |
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 <QtCore> | |
#include <QApplication> | |
#include <QtGui> | |
#include <QMainWindow> | |
class MainWindow : public QMainWindow | |
{ | |
protected: | |
virtual void keyReleaseEvent ( QKeyEvent * event ){ | |
// on my systems, holding down a key for a long time will make |