Just a reminder for anyone using Slate:
// ❌ Vulnerable code
return <iframe src={element.url} />
// ❌ Vulnerable code
return (
Just a reminder for anyone using Slate:
// ❌ Vulnerable code
return <iframe src={element.url} />
// ❌ Vulnerable code
return (
#!/usr/bin/ruby | |
require 'fileutils' | |
Entry = Struct.new(:path, :extension) do | |
def self.parse line | |
columns = line.chomp.split(/:\s*/) | |
return nil unless columns.length == 2 | |
path, extensions = columns | |
return nil if extensions == '???' | |
extension = extensions.split('/').first |
By contributing to Pop Pixie, you agree to the following:
/* The following text was produced by taking a screen recording of a Debian | |
* virtual machine during startup, processing select frames using OCR and | |
* merging the resulting texts together with some manual cleanup. | |
* | |
* Some lines from the original boot text may have been lost due to the | |
* framerate of the screen recording. An effort was made to correct errors | |
* introduced by OCR, but some errors remain. Forks to correct such errors are | |
* welcome. | |
* | |
* Text copyright belongs to various contributors to Debian and other included |
# Version 1: Using a loop counter to emulate a C-style for loop. | |
numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] | |
product = 1 | |
i = 0 | |
while i < numbers.size | |
product *= numbers[i] | |
i += 1 | |
end | |
# Version 2: Avoiding the use of a loop counter using `each`. |