We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
____________________________________________________________________ | |
P o w e r T O P | |
____________________________________________________________________ | |
* * * System Information * * * | |
PowerTOP Version;v2.9 ran at Fri Feb 26 15:19:37 2021 | |
Kernel Version;Linux version 5.4.0-65-generic | |
System Name;LENOVOLNVNB161216Legion Y7000 2019 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Prestige | |
The Crying Game | |
Anchorman | |
Nikita (tick) #movieofthemonth 7/10. Some bits were exciting but mostly it was too slow. | |
Training Day (tick) #movieofthemonth 8/10 great film. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Modified from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml */ | |
var url= ""; | |
var fileref = document.createElement('script'); | |
fileref.setAttribute("type","text/javascript"); | |
fileref.setAttribute("src", url); | |
document.getElementsByTagName("head")[0].appendChild(fileref); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using NUnit.Framework; | |
using Shouldly; | |
using System.Linq; | |
namespace MethodInfos | |
{ | |
public class Formatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This generates all combinations of words with the letters in 'australia', | |
# and then filters down to include only words with two consequtive "a"s | |
# and then excludes any words with 3 consecutive "a"s, leaving the words with only 2 a's together. | |
# | |
# Answer: 30240 | |
class String | |
def each_char_with_index | |
0.upto(size - 1) do |index| | |
yield(self[index..index], index) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public IEntityCollection2 FilterEntities(IEntityCollection2 collection, IRelationPredicateBucket filterBucket) | |
{ | |
collection.DefaultView.Filter = filterBucket.PredicateExpression; // only works for basic filter expressions | |
return collection.DefaultView.ToEntityCollection(); | |
/* | |
// say goodbye to all this shitty code. | |
var result = CreateEntityCollection(EntityType(collection)); | |
var filterField = ""; | |
object filterValue = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My app links in a 3rd party library (QCAR) | |
In the top of my .cpp file I have: | |
#include <QCAR/TrackerManager.h> | |
In one of the methods of my class, i'm making the following call (which fails to link) | |
QCAR::TrackerManager& trackerManager = QCAR::TrackerManager::getInstance(); | |
it fails with the following error: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.List (group) | |
data Segment x = Single x | Multiple Int x | |
deriving (Show, Eq) | |
encodeModified :: (Eq a) => [a] -> [Segment a] | |
--encodeModified xs = map (\charset -> | |
-- if ((length charset) == 1) | |
-- then (Single (head charset)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data List a = Elem a | List [List a] deriving (Show) | |
flatten' :: List a -> [a] | |
flatten' (Elem x) = [x] | |
flatten' (List (x:xs)) = flatten' x ++ flatten' (List xs) | |
flatten' (List []) = [] | |
data Tree a = Empty | Node a (Tree a) (Tree a) | |
deriving (Eq, Show, Read) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BetterNetbank = { | |
inject: function(table) { | |
if ($("#" + table).length > 0) { | |
$('#' + table + ' thead tr').prepend('<th>X</th>'); | |
$('#' + table + 'Body > tr').map(function() { | |
$(this).prepend('<td><input type="checkbox" /></td>'); | |
}); | |
} | |
} | |
} |
NewerOlder