Skip to content

Instantly share code, notes, and snippets.

View truongtv22's full-sized avatar
🏠
Working from home

Tẑ Trường truongtv22

🏠
Working from home
View GitHub Profile
@truongtv22
truongtv22 / BalsamiqForever.py
Created August 21, 2023 07:01 — forked from HoussemNasri/BalsamiqForever.py
Extend your trial period for Balsamiq Wireframes on Windows and macOS Forever!
import json
import os
import time
import webbrowser
import sys
import re
def handleWindows(extra_seconds):
print("OS : Windows")
@truongtv22
truongtv22 / pass-slots.md
Created May 30, 2020 15:38 — forked from loilo/pass-slots.md
Vue: Pass Slots through from Parent to Child Components

Vue: Pass Slots through from Parent to Child Components

The Situation

  • We've got some components A, B and C which provide different slots.
    const A = {
      template: `<div><slot name="a">Default A Content</slot></div>`
    }

const B = {

@truongtv22
truongtv22 / css-tips.md
Created March 27, 2019 02:41
Thủ thuật nhỏ hữu ích khi làm layout website

Windows | MacOS

β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”

window | Alt Option βŒ₯

ctrl | Command ⌘

alt | Ctrl βŒƒ

@truongtv22
truongtv22 / README.md
Created July 6, 2017 06:50 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
import React, { Component } from "react"
import Swiper from "react-native-deck-swiper"
import { StyleSheet, View, Text, Image, Button } from "react-native"
export default class Exemple extends Component {
constructor(props) {
super(props)
this.state = {
cards: [1, 2],
swipedAllCards: false,
{
"plugins": [
"react"
],
"env": {
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {