Skip to content

Instantly share code, notes, and snippets.

@yatima1460
yatima1460 / weekend.ics
Last active February 22, 2021 11:53
iCal Calendar for weekend
BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART:20210101
DTEND:20210101
RRULE:FREQ=WEEKLY;BYDAY=SA;BYSETPOS=-1
SUMMARY:Weekend Start
END:VEVENT
BEGIN:VEVENT
DTSTART:20210101
DTEND:20210101
@yatima1460
yatima1460 / gist:40b86778153c50458b799e246fe8fda1
Created September 27, 2019 14:20
Install Japanese, Tagalog and other font languages on Arch
sudo pacman -S ttf-freefont ttf-arphic-uming ttf-baekmuk
@yatima1460
yatima1460 / CMakeLists.txt
Last active September 27, 2019 01:52
Load SDL2 on Arch with CMake
# Load SDL2
find_program(LSB_RELEASE_EXEC lsb_release)
execute_process(COMMAND ${LSB_RELEASE_EXEC} -is OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT OUTPUT_STRIP_TRAILING_WHITESPACE)
message("Your distro is ${LSB_RELEASE_ID_SHORT}")
find_package(SDL2 REQUIRED)
if ("${LSB_RELEASE_ID_SHORT}" STREQUAL "Arch")
message("Arch distro detected, using Arch CMake linkage")
target_link_libraries(ProjectName SDL2::SDL2)
else ()
message("Non-Arch distro detected, using normal linkage")
@yatima1460
yatima1460 / blink.css
Last active August 19, 2019 04:07
Turn back on the <blink> tag in HTML5
@yatima1460
yatima1460 / RefreshEnv.sh
Created July 22, 2019 03:10 — forked from jayvdb/RefreshEnv.sh
chocolatey RefreshEnv for bash
function refreshenv
{
powershell -NonInteractive - <<\EOF
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
Update-SessionEnvironment
# Round brackets in variable names cause problems with bash
Get-ChildItem env:* | %{
if (!($_.Name.Contains('('))) {
diff --git a/gtk/gtkfilechooserprivate.h b/gtk/gtkfilechooserprivate.h
index 0094beb299..433a623963 100644
--- a/gtk/gtkfilechooserprivate.h
+++ b/gtk/gtkfilechooserprivate.h
@@ -32,10 +32,14 @@
#include "gtktreestore.h"
#include "gtktreeview.h"
#include "gtkbox.h"
+#include "gtkiconview.h"
+#include "gtkscale.h"

Keybase proof

I hereby claim:

  • I am yatima1460 on github.
  • I am yatima1460 (https://keybase.io/yatima1460) on keybase.
  • I have a public key whose fingerprint is 148D 0F92 20DA 5884 6803 75F5 BC2B 811C 62B3 A067

To claim this, I am signing this object: