Skip to content

Instantly share code, notes, and snippets.

@ruddell
ruddell / qt.rb
Created February 3, 2019 19:19 — forked from DDRBoxman/qt.rb
# Patches for Qt must be at the very least submitted to Qt's Gerrit codereview
# rather than their bug-report Jira. The latter is rarely reviewed by Qt.
class Qt < Formula
desc "Cross-platform application and UI framework"
homepage "https://www.qt.io/"
url "https://download.qt.io/official_releases/qt/5.10/5.10.1/single/qt-everywhere-src-5.10.1.tar.xz"
mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/5.10/5.10.1/single/qt-everywhere-src-5.10.1.tar.xz"
sha256 "05ffba7b811b854ed558abf2be2ddbd3bb6ddd0b60ea4b5da75d277ac15e740a"
head "https://code.qt.io/qt/qt5.git", :branch => "5.10", :shallow => false
import React from "react";
import { render } from "react-dom";
const ParentComponent = React.createClass({
getDefaultProps: function() {
console.log("ParentComponent - getDefaultProps");
},
getInitialState: function() {
console.log("ParentComponent - getInitialState");
return { text: "" };
@ruddell
ruddell / il8n.js
Created October 27, 2016 16:46 — forked from brunnels/il8n.js
Gulp tasks to update il8n json files in jhipster
'use strict';
var gulp = require('gulp'),
argv = require('yargs').argv,
tap = require('gulp-tap');
var config = require('./config');
module.exports = {
setProperty: setProperty,
package org.kraven.repository.specification.util;
import cz.jirutka.rsql.parser.ast.ComparisonOperator;
import cz.jirutka.rsql.parser.ast.RSQLOperators;
/**
* Created by brunnels on 10/26/2016.
*/
public enum RsqlSearchOperation {
EQUAL(RSQLOperators.EQUAL),