View detect.sh
| #!/bin/bash | |
| echo "Please wait..." | |
| # Look for suspect files | |
| /usr/bin/find -E {,~}/Applications -iregex '.*\.app\/(.*\.DS_Store|Icon.{1})$' > /tmp/.suspectfiles | |
| # Check suspect files | |
| appsCounter=0 | |
| while read path; do |
View Natalia1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View julep_shopify.html
| <!-- Insert in head tag --> | |
| <style type="text/css"> | |
| .section__content.section__content__attentive { | |
| border-radius: 4px; | |
| background-color: #fafafa; | |
| border: solid 1px #e6e6e6; | |
| padding: 12px; | |
| } | |
| .section__content.section__content__attentive .input-checkbox { |
View test_sampleParametrize.py
| import pytest | |
| from appium import webdriver | |
| import time | |
| @pytest.mark.parametrize("udid, systemPort", [ | |
| ("FA7BN1A04058", "8201"), | |
| ("FA7BN1A04086", "8202") | |
| ] | |
| ) | |
| def test_SettingsTestCase(udid, systemPort): |
View convert_repo.sh
| #!/bin/bash | |
| ########### | |
| # ./convert_repo.sh | |
| # Author: Igor Serko <igor.serko@gmail.com> | |
| # Description: Allows the user to join multiple git repositories under one single repository | |
| # Procedure: Using git filter-branch we rewrite the history of every repo | |
| # example of current tree | |
| # -- REPOONE | |
| # |-- repoone files | |
| # -- REPOTWO |
View TableTransmitter.cs
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| using Microsoft.WindowsAzure.Storage; | |
| using Microsoft.WindowsAzure.Storage.Auth; | |
| using Microsoft.WindowsAzure.Storage.Table; | |
| using TableStorage.Abstractions.TableEntityConverters; | |
| using Traiders.Storage.Configuration; |
View PY0101EN-5-2-Numpy2D.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View release-crd.yaml
| apiVersion: apiextensions.k8s.io/v1beta1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| name: releases.jenkins.io | |
| spec: | |
| group: jenkins.io | |
| names: | |
| kind: Release | |
| listKind: ReleaseList | |
| plural: releases |
View cb_5.js
| //Escuchar un evento en js (addEventListener) | |
| document.getElementById('btn1').addEventListener('click', function (evt) { | |
| console.log('Le diste click a btn1'); | |
| }); | |
| //ES6 map, filter, reduce | |
| let newArray = [1, 2, 4, 8].map(item => item * 2); | |
| console.log(newArray); //output [2, 4, 8, 16] |
View disable.sh
| #!/bin/bash | |
| if [[ "$(sw_vers -productVersion)" != 10\.15* ]]; then | |
| echo "This is only meant to run on macOS 10.15.* Catalina" >&2 | |
| exit 1 | |
| fi | |
| reply= | |
| printf "Are you pretty damn sure you want to run this? (Yes/No) " | |
| read -r reply | |
| [[ $reply != Yes ]] && exit 1 |
NewerOlder