A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$ if your browser aliases it:
~ 108 byte version
| # Ruby is our language as asciidoctor is a ruby gem. | |
| lang: ruby | |
| before_install: | |
| - sudo apt-get install pandoc | |
| - gem install asciidoctor | |
| script: | |
| - make | |
| after_success: | |
| - .travis/push.sh | |
| env: |
| <?xml version="1.0"?> | |
| <ruleset name="MyStandard"> | |
| <description>PSR2 with tabs instead of spaces.</description> | |
| <arg name="tab-width" value="4"/> | |
| <rule ref="PSR2"> | |
| <exclude name="Generic.WhiteSpace.DisallowTabIndent"/> | |
| </rule> | |
| <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/> | |
| <rule ref="Generic.WhiteSpace.ScopeIndent"> | |
| <properties> |
| // GitLab Settings | |
| def gitUrl = 'http://git/api/v3' | |
| def privateToken = 'xYxYxYxYxYxYxYxYxYxY' | |
| def currentPage = 1 | |
| def projectsPerPage = 100 | |
| // Reading projects from GitLab REST API | |
| def projectList = new URL("${gitUrl}/projects/all?page=${currentPage}&per_page=${projectsPerPage}&private_token=${privateToken}") | |
| def projects = new groovy.json.JsonSlurper().parse(projectList.newReader()) | |
| projects.each { |
Export:
${user}/.atom:apm list --installed --bare > packages.list| #!/bin/bash | |
| sudo apt-get install apt-transport-https ca-certificates -y | |
| sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| sudo rm -f /etc/apt/sources.list.d/docker.list | |
| sudo add-apt-repository \ | |
| "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
| $(lsb_release -u -cs) \ | |
| stable" | |
| sudo apt-get update | |
| sudo apt-get purge lxc-docker |
| <?php | |
| //check if form was sent | |
| if($_POST){ | |
| $to = '[email protected]'; | |
| $subject = 'Testing HoneyPot'; | |
| $header = "From: $name <$name>"; | |
| $name = $_POST['name']; |
To send a request via the sandbox, you can use pm.sendRequest.
pm.test("Status code is 200", function () {
pm.sendRequest('https://postman-echo.com/get', function (err, res) {
pm.expect(err).to.not.be.ok;
pm.expect(res).to.have.property('code', 200);
pm.expect(res).to.have.property('status', 'OK');
});
});