Skip to content

Instantly share code, notes, and snippets.

View valterbarros's full-sized avatar
👊
Code makes me happy

Valter Barros valterbarros

👊
Code makes me happy
View GitHub Profile
!`:: ; Next window
curr := WinExist("A")
WinGet currentProcessName, ProcessName, % "ahk_id " curr
WinGet, WinClassCount, Count, % "ahk_exe " currentProcessName
;MsgBox, %currentProcessName%
IF WinClassCount = 1
Return
ElSE
================================
trailhead.salesforce.com
CSS
.search-input__input {
background-color: var(--darkreader-neutral-background) !important;
}
.user-info__name {
color: inherit !important;
This file has been truncated, but you can view the full file.
[
[
{
"title": "Salesforce B2C Commerce 21.10",
"href": "topic/com.demandware.dochelp/content/b2c_commerce/topics/getting_started/b2c_welcome.html?cp=0",
"isLeaf": false
},
{
"title": "Welcome to the Salesforce B2C Commerce Infocenter",
"href": "topic/com.demandware.dochelp/content/b2c_commerce/topics/getting_started/b2c_welcome.html?cp=0_0",
Program cartas;
type
carta = record
nipe:string;
numero:integer;
prox:^carta;
end;
var
topo:^carta;
aux:carta;
Program Pzim ;
type
carta = record
nipe: string;
numero: integer;
proximo: ^carta;
end;
var
pilha: ^carta;
import { Directive, ElementRef, OnDestroy } from '@angular/core';
import * as textMask from 'vanilla-text-mask/dist/vanillaTextMask.js';
@Directive({
selector: '[maskCurrencyDirective]'
})
export class MaskCurrencyDirective implements OnDestroy {
mask = ['$', /\d+/]
maskedInputController;
ExUnit.start()
defmodule ChopTest do
use ExUnit.Case, async: true
test "Should return guessed number" do
teste = Chop.guess(273, 1..1000)
assert teste == 273
end
<div class="check-multisiteconstructionsite">
<div>
<label class="label" for="checkbox_use">Obra Multisite</label>
<div class="space"></div>
<div class="switch">
<input
type="checkbox"
class="switch-checkbox form-control"
id="checkbox-construction-site-type"
>
@valterbarros
valterbarros / _comments.html.erb
Last active May 14, 2019 23:05
Testing stimulus using two controllers to handle separate responsibilities
<div
class="m-b-10 stant-commentsection"
data-target="pre-plannings--comments.jsCommentsContainer">
<template data-target="pre-plannings--comments.jsCommentTemplate">
<ul class="stant-comment">
<li>
<p class="commentcontent">
<b class="name">
'%{person}'
import Vue from 'vue'
import Vuetify, {
VCombobox
} from 'vuetify/lib'
export default function makeCombobox(repositoryName) {
return Vue.component('combobox', {
inject: [repositoryName],
components: { VCombobox },
render (createElement) {