Skip to content

Instantly share code, notes, and snippets.

View jturcotte's full-sized avatar

Jocelyn Turcotte jturcotte

View GitHub Profile

Tetris (GB) - #chiptrack

Play this song

  • In the Chiptrack Web Player.
  • In the desktop version from a command line prompt:
    chiptrack https://gist.github.com/jturcotte/f7ddbe243c9290222c63b00bb43131a2

What is this?

@jturcotte
jturcotte / +kirby.ct.md
Last active October 20, 2024 17:41
Kirby's Dream Land 2 (GB) - Big Forest - #chiptrack

Kirby's Dream Land 2 (GB) - Big Forest - #chiptrack

Play this song

  • In the Chiptrack Web Player.
  • In the desktop version from a command line prompt:
    chiptrack https://gist.github.com/jturcotte/206548ec74b77ed97adb3f4326ebe10c

Robocop (GB) - Title Theme - #chiptrack

Play this song

  • In the Chiptrack Web Player.
  • In the desktop version from a command line prompt:
    chiptrack https://gist.github.com/jturcotte/3adba9f9cddaf60ad1cacf41027b10a5
[package]
name = "skia-text-align"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "skia-text-align"
path = "main.rs"
[dependencies.slint]

Keybase proof

I hereby claim:

  • I am jturcotte on github.
  • I am jturcotte (https://keybase.io/jturcotte) on keybase.
  • I have a public key ASBhw4nK0NdN9nbEJWDYZdSQetgCCZwoetLnzWSWR3eHzwo

To claim this, I am signing this object:

@jturcotte
jturcotte / qtbase-Support-EGL_ANGLE_surface_orientation-to-avoid-an-ex.patch
Last active November 18, 2016 11:30
Support EGL_ANGLE_surface_orientation to avoid an extra blit
From cf4dbaadeff8be28607c74c9d4bfea010af92d95 Mon Sep 17 00:00:00 2001
From: Jocelyn Turcotte <[email protected]>
Date: Fri, 24 Jun 2016 16:22:09 +0200
Subject: [PATCH] Support EGL_ANGLE_surface_orientation to avoid an extra blit
on each frame
This adds an UseOptimalOrientation option to QSurfaceFormat to let
EGL tell ANGLE that the application will take care of using Y-flipped
coordinates instead of having to do it through an intermediate surface
at the end.
@jturcotte
jturcotte / 0001-Add-a-backgroundColor-property.patch
Last active August 29, 2015 14:24
[PATCH] Add a backgroundColor property
From 3adadda878f63fcca6892c49c4ddc82143d59b66 Mon Sep 17 00:00:00 2001
From: Jocelyn Turcotte <[email protected]>
Date: Thu, 9 Jul 2015 21:52:43 +0200
Subject: [PATCH] Add a backgroundColor property
This also allows setting a transparent color to see through
the web view's body if its background color isn't specified.
The color is initially held by the top API view and is pulled
by the WebContentsAdapter in order to set it on the RenderView.
@jturcotte
jturcotte / 0001-Add-a-multipart-put-test-to-see-if-this-can-improve-.patch
Created March 27, 2015 09:20
Add a multipart put test to see if this can improve performances
From 5a7b154e70a14a7ce0df1170d9e8e8e9b8342c8b Mon Sep 17 00:00:00 2001
From: Jocelyn Turcotte <[email protected]>
Date: Fri, 27 Mar 2015 10:07:01 +0100
Subject: [PATCH] Add a multipart put test to see if this can improve
performances
---
performance-tests-c++/main.cpp | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
@jturcotte
jturcotte / digHole.qml
Created August 18, 2014 12:43
Framebuffer hole digging test
import QtQuick 2.1
Rectangle {
height: 600
width: 800
color: "red"
ShaderEffect {
height: parent.height / 4
width: parent.width / 4
@jturcotte
jturcotte / gerrit-submit.py
Created August 12, 2014 12:08
Submit a gerrit patch using it's local SHA1
#!/usr/bin/python
import subprocess
import sys
import re
import json
localCommit = sys.argv[1]
gitShow = subprocess.check_output(['git', 'show', '--no-patch', localCommit])
for line in gitShow.decode().splitlines():