Skip to content

Instantly share code, notes, and snippets.

View tucq88's full-sized avatar
🎯
Fake it till you make it. Confidence is more important than knowledge.

Tu Chu tucq88

🎯
Fake it till you make it. Confidence is more important than knowledge.
View GitHub Profile
@gremau
gremau / trello-parser-readme.md
Last active March 18, 2024 18:21 — forked from RealOrangeOne/README.md
Trello JSON parser

Trello Parser

Download

Open a terminal, run this:

sudo curl https://gist.githubusercontent.com/gremau/290ab394c9bf2d6d03c18444ff60c225/raw/trello-parser.py -o /usr/local/bin/trelloparse && sudo chmod +x /usr/local/bin/trelloparse

Usage

$ trelloparse -h

usage: tp [-h] input output

@michaellihs
michaellihs / design-thinking-ux-user-story-mapping.md
Last active August 2, 2023 16:43
Design Thinking, UX, User Story Mapping...

Concepts

Journey Map

User journey map is a visualization of an individual’s relationships with a product/brand over time and across different channels.

  • commonly it’s represented as a timeline of all touch points between a user and a product
  • timeline contains information about all channels that users use to interact with a product
  • visualizes how a user interacts with a product and allows designers to see a product from a user’s point of view
@NgocLinhNguyen
NgocLinhNguyen / get_sign.py
Last active January 21, 2019 09:40
Create signature for API
from hashlib import md5
import hmac
from collections import OrderedDict
def get_sign(token, type):
appSecret = '828eb89cf2f7b7517e6ec37bb34b34ee'
token_string = ''
token = OrderedDict(sorted(token.items()))
@DavidKuennen
DavidKuennen / minimal-analytics-snippet.js
Last active March 28, 2024 01:45
Minimal Analytics Snippet
(function (context, trackingId, options) {
const history = context.history;
const doc = document;
const nav = navigator || {};
const storage = localStorage;
const encode = encodeURIComponent;
const pushState = history.pushState;
const typeException = 'exception';
const generateId = () => Math.random().toString(36);
const getId = () => {
@swalkinshaw
swalkinshaw / tutorial.md
Last active November 13, 2023 08:40
Designing a GraphQL API
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import 'Table.css';
import { Card, Stack, Pagination, SkeletonDisplayText} from '@shopify/polaris';
export default class GeneralisedTable extends Component {
static propTypes = {
tableHeaders: PropTypes.array.isRequired, // array of header labels. Should be an array of strings
attributeRenderFunctions: PropTypes.array.isRequired, // array of render functions. function accepts an item from tableData, index of the item in the current page and the active offset (if pagination is enabled) as param and returns markup for that row
tableData: PropTypes.array.isRequired, // the actual data array
@aurorabbit
aurorabbit / progress.10s.sh
Last active August 5, 2020 00:16
Bitbar timely progress bar
#!/bin/sh
# add this to your bitbar directory
# don't forget to chmod +x
# width and characters for the progress bars
# feel free to configure these
width=30
fill_char="█"
empty_char="▁"
@nguyenanhtu
nguyenanhtu / SSLXampp.md
Last active January 20, 2024 23:35
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you

Menu

  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?