The story part
I had been thinking about registering a domain for a custom email address. I was looking for an easy to remember name that would look professionnal without necessarily going for a common TLD such as .com. .ca, etc. Having a Google account and knowing thy offer a registrar service, I had a look. That’s how I came across the .dev TLD.
Marketing dept’s doing its job well so I clicked that attractive button. If you want to serve a website through this domain, you’ll need an SSL certificate. No worries there, plus it’s a cool name, it’s affordable and it will require that I setup HTTPS when I’m ready for a website (and also requires visitors to use a secure protocol).
I had come across a site hosted on Github for the first time a few years back and figured it was automatically generated from .md files within the repo. I tought Github Pages would be an interesting option when I’d want a small website to show off my repos.
So I’m doing this presentation for a cloud computing course and while presenting Github’s features, I was showing how you could use it to showcase your skills to potential employers and link it on your CV. Someone throws “Why isn’t yours on Github then?”
How to
keep your sanity when dealing with Google Domains
If you enjoy a cleansed browsing experience though the use of extensions/plug-ins, some of Google Domains' features may seem broken. The cases I experienced were:
- DNS A Record not accepting all the IP adresses and reverting to the first line only, even after using the + sign on creation, using the edit button and then the + sign to add more failed, deleting the record and waiting for the TTL to expire didn’t change anything either.
- CNAME always fell back to mydomain.dev instead of user.github.io even after trying the common troubleshooting listed previously.
Use private browsing or incognito mode
I know it doesn’t make sense as a solution to apparent DNS issues but it worked for me.
Procedure
You will need:
- A Github account
- A registered domain
- if your domain is not “More Secure”, you can still follow these instructions.
The Github Pages docs make you create a repo like user.github.io
but you can activate Github Pages in any repo through the Settings menu. However, Github can only have one custom entry per repo, either Apex or subdomain but not both. So you cant have www.domain.xxx and domain.xxx redirect to the same repo. There are inelegant workaround methods but I won’t deal with that here. Just choose how you think is best. I decided to go with the Apex domain and use subdomains for specific repos, like this one.
Want to use the Apex? Just create an A RECORD in Google Domains DNS with the IP adresses listed here.
Want to use a subdomain instead? Create a CNAME file (steps 1 2 3, use full sub.domain.xxx) in your repo and go to Google Domains DNS and add a CNAME entry sub that directs to user.github.io
.
Once your done with the Google Domains part, go back to your repo’s Settings and wait patiently until the error message next to the Enforce HTTP checkbox goes away. DNS propagation can take a while, you might see a change in minutes but it could also take hours. Github Pages automatically generates free certificates through Let’s Encrypt. If you pay attention to the Settings page you might even see a progress bar when the certificate is generated. When everything is ready you should see “Your site is now published at https://….”
Sécurity
The main benefit of .dev
domains, on top being really really really ridiculously good looking, is that it commes out of the box with HSTS pre-loading enabled. This makes sure all connections to your site are secure. If you want to enable HSTS on a domain you own, just follow these instructions. If you think it’s a bit much to have HTTPS + HSTS enabled for a simple blog, it’s 2020 and I don’t have a valid reason not to make my trafic secure by default.
Conclusion
Mon CV is now on Github but I haven’t set up my custom email yet…
A big thank you goes out to Chase Sawyer for helping me while troubleshooting Google DNS and confirming the instructions worked on his side. Because of this I was either crazy or some kind of Google dark arts was happening. I tested the second hypothesis by using Chrome’s incognito mode and everything behaved as expected.


What shops you would most like to see in Bristol - including a new Primark
The fall of a number of chains has left empty shops around the city
by Emma GrimshawWe are blessed here in Bristol to have an extensive list of shops on hand to fulfil all of our consumer desires.
From high-end outlets like those found on Park Street to popular chains in Cabot Circus.
But that isn't to say there isn't room for more stores to open, especially with the collapse of a number of chains which have left empty buildings in popular locations.
Two weeks ago, news broke of the latest casualty of the retail world when Mothercare announced it was going into liquidation.
Soon two huge shops in Eastgate and The Mall will be unoccupied so Bristol Live asked readers what shops they would like to open instead.
Primark at The Mall
This was by far the top choice by commenters on our Facebook page.
At the moment, Bristol only has one Primark, which is based on the Horsefair.
Many said they would love to have an outlet in Cribbs Causeway, saving them a journey into the city centre.
The chain, renowned for its low-priced clothes, has been expanding this year, with the world's biggest store opening in Birmingham.
So watch this space.
Monsoon at the Mall
Several people supported the idea of a new Monsoon opening.
Again, this chain already has an outlet in the city centre but there's clearly a market for an out-of-town shop as well.
The store is famed for its beautiful party dresses and impressive accessories.
BHS back in city centre
Three years ago this department store closed its doors for the last time in Broadmead. The chain sold everything from underwear to household goodies but sadly went into administration in 2016.
Now, there's calls to bring the store back to Bristol's High Street by one woman who said she would 'love to see' it return.
Decathlon
A few shoppers called for this sports retailer to open an outlet in Bristol.
Currently, people have to travel as far afield as either Oxford or Southampton to reach a store owned by the French chain.
The brand has launched a huge expansion around Europe this year so a new shop opening in Bristol isn't too hard to imagine.
Woolworths return to city centre
Who didn't used to love this chain's pick and mix range?
So many kids spent their childhoods dreaming about their next visit, which sold everything from home appliances to sweets.
Sadly, in 2008 the chain went into administration with scores of shops closing across the country.
But people still haven't forgotten the joys of shopping there and one reader has called for its resurrection.
For the latest news in and around Bristol, check back on Bristol Live's homepage.


- Pic
-
or pick a file:
- Scale:
- Radius:
- Scale Easing:
Download your awesome creation! as jpeg as png
Instructions
- Only tested and expected to work on google chrome desktop - NOT mobile!!
- Roll over with mouse on image to play with a pic
- Click the canvas to freeze the blob, click again to have the blob follow your mouse again
- Click the links above to save your creation
- Play with the settings above (best if you have frozen rendering first!)
- Keyboard controls:
- Press escape to compare with original
- Press space to freeze the current blob and control a new blob!
- Press backspace to remove previously frozen blob
- Press enter to clear all blobs
- Note: multi blob only work if they do not overlap!
- Pics are put on the canvas center-cropped, do preprocessing/cropping on your images before using this.
|
|


Spiky hair is the process of using products to make the hair stand on end like spikes sticking out of the head. It's often associated with the punk rock subculture and, in fiction, it's used to show that a character is wild and cool as well as being badass. While spiky hair is prominent in real life, fictional characters are almost always shown with perfectly spiked hair despite the fact that it would get flattened while they're in bed. While it is a typically-male hairstyle, it has become somewhat fashionable for women to have a spiky hairstyle.
A perennial favorite of the Friendly Neighborhood Vampire. Why? No one knows. Maybe it reminds people of fangs.
Compare Anime Hair and Shonen Hair.
Examples:
- Matt from Digimon Adventure. While many other characters sport wild and crazy hair, he's the only one who's actually stated to use gel.
- Nearly universal among Saiyans in the Dragon Ball franchise, aside from one who's bald. Their hair is even permanently spiky, since a Saiyan's hairstyle never changes from the day they're born.
- Played with by Team Unicorn in Yu-Gi-Oh! 5D's, whose leader's hair has one long spike.
- Issa Matsumoto from 3-gatsu no Lion spikes his hair up in slightly exaggerated way, making him the only character in the series so far with a remotely silly hairstyle.
- Practically every male character except Gai, Lee and Neji in Naruto, though Naruto himself grows out of it in his late teens when he gets a new shorter haircut.
- Shobu in Duel Masters. It's even lampshaded in the intro.
- Ryoko and Washu in Tenchi Muyo! are among the few female examples of spiky hair.
- Tetsuo from AKIRA develops long spiky hair once he gains more control over his telekinetic powers.
- Sei from BREAK THE BORDER has spiky, messy hair fitting his energetic personality.
- The Beano's Dennis the Menace and Smasher from The Dandy.
- Calvin from Calvin and Hobbes sports this, and even sports an Astro Boy cut in one strip.
- Robin Tim Drake always spiked his hair as part of his Robin costume since he kept his hair down in his secret identity.
- Incandescence has puffy, wavy spikes. A very unusual hairstyle for an American superheroine.
- In Yo-kai Watch: The Rewrite Series, Nate's spiky hair is lampshaded when Roughraff calls it "rowdy" looking.
- To Catch A Raven explains that one of Jinx's metahuman traits is that her hair is permanently spiky.
- Rory O'Shea from Inside I'm Dancing and his bleached blond spikes. Not allowing him to gel his hair is one of the many ways the women in the care home try to restrict him.
- The unnamed woman on the team from AVP: Alien vs. Predator has some truly amazing blonde spikes. They show how much of a badass she is though in an action movie the tough tomboyish girl doesn't last too long.
- Freddie spikes his hair when he becomes a fan of punk music in School of Rock. Billy is also shown with spiked hair when they arrive at Battle of the Bands. Laurence also goes for this look during the performance.
- Ryan Phillippe donned some impressive spikes for the film Homegrown.
- Jonathan Lipnicki as little Ray Boyd in Jerry Maguire.
- Twilight: Robert Pattinson as Edward Cullen.
- Rocket from 'Sucker Punch to enhance the Animesque feel of the movie.
- Nymphadora Tonks in the Harry Potter series favours her hair short, spiky and bright pink. Since she can change her appearance at will she obviously has no trouble spiking it up in the morning.
- Lisbeth Salander from The Girl with the Dragon Tattoo is a goth girl with short spiky hair.
- Mike from Twilight is said to have this hairstyle, though the movies give him normal flat hair. Alice Cullen is also said to have short spiky hair; in the movies, her hair is a bit longer and a little less spiky.
- Jerry Cruncher in A Tale of Two Cities is described as having hair so spiky it would be dangerous to play leapfrog with him. His son has it, too.
- Early in Aunt Dimity and the Lost Prince, Bree first arrives on Lori's doorstep with her hair dyed a fiery red and done in a spiky hairdo:
Lori: Good grief. What have you done to your hair?Bree (turning head to one side): Like it?Lori: It looks like your head is on fire.Bree (smiling): Brilliant. Just the effect I was aiming for. I call it my portable hearth. There's nothing like red hair to take the edge off a cold snap.
- Bree is also a free spirit who likes challenging the stuffier residents of the village. She later says that when Peggy Taxman saw Bree's hair in church, Peggy gave her a look that "would have curdled milk." In Bree's estimation, this is a feature, not a bug.
- Thalia Grace from Percy Jackson and the Olympians is described as a punk girl and has spiky black hair.
- Miss Scary from the Mr. Men series.
- The Hunger Games: Finnick Odair ports an anime-like hairstyle in Catching Fire. In Mockingjay, it's toned down a bit.
- Holly from Varjak Paw has spiky fur to fit her spiky personality.
- Spike from Buffy the Vampire Slayer is shown with spiky hair in a flashback to the 70s. And no, that's not where his name comes from.
- Oz usually has his hair spiky too, and often a different colour.
- Angel often wore his hair spiky. On entering the alternate dimension of Pylea the different supernatural rules allowed him to see his reflection and he reacted with distress, suggesting this is some horrible grooming accident created by his vampirism.
- A big part of David Tennant's now-iconic appearance on Doctor Who was his perpetually spiked hair.
- Both Chandler and Ross liked to have this hairstyle in Friends. Ironically Rachel told Ross he used too much gel when his hair was actually flat.
- Vince from What I Like About You.
- Jon Lee from S Club 7 adopted this style for the LA 7 season.
- Abby Maitland in Primeval gave herself a short spiky style for season 3. She grew out her hair in season 4.
- Leo's Evil Twin from the season 6 finale of Charmed.
- June Tuesday on the short-lived That '80s Show.
- In the Power Rangers Wild Force episode "Forever Red", Tommy Oliver has switched to this hairstyle, which is jarring to older viewers because previously he'd been a long hair whose hair had lengthened with each passing season. It's still short and spiky when he returns as a regular cast member in Power Rangers Dino Thunder.
- Banban "Ban" Akaza/DekaRed from Tokusou Sentai Dekaranger, though he grows it out from Mahou Sentai Magiranger VS Dekaranger onwards.
- Ted in How I Met Your Mother, whose hair is almost fascinating in its intricately disheveled spikiness.
- Stefan Salvatore from The Vampire Diaries is known for his trademark spiky hair.
- Lucas Scott wears his hair this way in the early seasons of One Tree Hill.
- Scott Mc Call from Teen Wolf has been sporting spiky hair since season two.
- As of season three, Stiles has grown his hair out and is now sporting a spiky haircut.
- Alex from MythQuest tries this for one episode, but he gives it up rather quickly.
- Logan Echolls in Veronica Mars. Coming from a family of actors probably didn't hurt his grooming standards.
- As mentioned above, spiky hair is found in the punk rock subculture. It's often dyed various colours as well. Some schools aren't as strict about spiky hair as they are about certain other hairstyles, as long as the spikes aren't too severe.
- Liberty spikes is a special style where the hair is grown long and spiked out, looking similar to the headdress on the Statue of Liberty where the name comes from.
- Mark Hoppus, of blink-182 fame.
- Pretty much every member of Good Charlotte.
- Derek Whibley aka Bizzy D from Sum 41.
- Sid Vicious, as mentioned above.
- Omi from existtrace. Bonus points for it being silver.
- Zack Ryder and his slogan "take care, spike your hair".
- Indie wrestler Christina Von Eerie has her hair spiked up into a Mohawk. Portia Perez once joked that it could be used as a weapon during matches.
- At an AWE show Vertigo "The Cure" Rivera split a garbage can in half over the head of heavyweight champion Jesse Neal. Neal was knocked for a loop but his Mohawk survived without any signs of damage, making it look like his hair had cut the can in two and some metal just happened to hit his forehead as it parted.
- Crayon Chronicles: The male Player Character (if you choose to play as him in the game) has spiky yellow hair.
- Because of Cloud Strife's outrageous hair, spiky hair is considered a trademark of Final Fantasy, even though it's a fairly uncommon sight in the series outside of Final Fantasy VII related stuff.
- Bit of trivia for those interested: Cloud's infamous 'do was a deliberate choice by the game developers; His original design called for slicked-back, black hair with no spikes. However, to make Cloud stand out more and emphasize his role in the game as the lead protagonist, his design to give him spiky blond hair instead
- Many characters from the Kingdom Hearts series have outrageously spiky hair, Sora and Axel in particular. There's even a Lampshade Hanging in the second game in reference to Cloud's infamous hair (although, ironically, he uses his much more sane-looking Advent Children costume/hair in II).
Tifa: I'm looking for somebody. Have any of you seen a guy with spiky hair?Sora: (tugs on one of his own spikes)Tifa: Spikier.
- Hwoarang gets this hairstyle in Tekken 4 when he joins the army. It grows out between games. See also Jin Kazama and Kazuya Mishima.
- Hwang Sung Kyung and his expy Hong Yun-Seong from SoulCalibur, despite the game being set in the 1500s.
- Phoenix Wright from the Ace Attorney series. The rest of the cast frequently poke fun at him for it.
- Several other characters have Anime Hair in varying degrees of spikiness, but the most obvious is Furio Tigre from Trials & Tribulations. It enables him to impersonate Phoenix, despite otherwise looking nothing like him.
- Crono from Chrono Trigger
- Shu from Blue Dragon, as well as his grandfather Furisha
- The appropriately-named Spike from the Ape Escape series. Kei from the third game combines it with You Gotta Have Blue Hair.
- Sonic the Hedgehog, who has literally spiky hair in that he has quills. Taken up another notch with the messier quill arrangement in Sonic Boom. Curiously enough, Shadow also has that arrangement in Boom.
- In Fancy Pants Adventures, Fancy Pants Man, despite him being a stick figure, has three large spikes for hair.
- Dekar in Lufia II: Rise of the Sinistrals could pass for Sonic with his mane of spiky blue hair.
- Maxim gets into the spiky-hair look in Lufia: Curse of the Sinistrals.
- Meta from METAGAL has a pretty spiky top.
- Ninja Battle Heroes: Most of the main cast have some pretty spiky tops. Just have a look.◊
- The player character from Oedipus in my Inventory has spiky hair despite being a shepherd from the Hellenistic era.

- Hedge from El Goonish Shive has naturally spiky hair. Which makes sense as he has hedgehog heritage.
- Barry's hair from Newheimburg is gelled like this.
- Bismun of Pacificators is very, very, very obsessed with keeping his hair perfectly spiky. Breanne calls him "Conehead" because of it. Look, he really is a cone head!◊
- Isaac from Paranatural. He is possessed by a spirit which gives him naturally spiky hair.
- Hsin from Rhapsodies uses a whole lot to maintain his anime like hairstyle... so much he almost glued his new hat to his head.
- Kat Vance from Sequential Art.
- Rana from Sombulus has natural big red spiky hair that never seems to be bothered by physics or weather.
- Rowan from Weak Hero has bright red hair that sticks up like a fan, which certainly makes him stand out in a crowd and helps with his constant posturing.
- Cracked Photoplasty advertises a hair gel that makes the above video game examples possible in Ads for Products That Must Exist in Video Games.
- The protagonist of Oedipus in my Inventory has spiky hair in all three stages of life.
- Tom from Eddsworld, who is depicted with extremely spiky hair. He calls it Steve. A flashback reveals that this is because his dad was a pineapple.
 Depending on the Artist, they may cover the entire top of his head, or just the circumference. Lisa and Maggie have similar hair, except theirs points outward instead of up. They always refer to their hair as "points" instead of spikes. In all three cases, there's no clear division between where their skin ends and their hair starts.
- Sideshow Bob, Bart's archnemesis, has huge curly spikes of hair that make him resemble a palm tree.
- Phil has this hairstyle in the first season of All Grown Up!. He has curtained hair in other seasons. Tommy also has really short spikes.
- Phineas of Phineas and Ferb has this hairstyle.
- Carver from The Weekenders has triangular dreadlocks pointed upward. Tino also gives himself this look when he's trying to impress a punk chick.
- A DJ-lookalike seen in Pixar Shorts Tokyo Mater has large spoilers on his roof that resemble spiked hair.
- Harold Lloyd.
- Victoria Beckham as well as her husband David both have had spiky hairstyles though not at the same time.
- Freddie Ljungberg, when he still had hair, liked to dye it red and spike it up.
- Guy Fieri of the Food Network and Diners, Drive-ins and Dives has this as his most recognizable feature, and it's notable that, even though he usually wears sunglasses, he doesn't actually put them on the top of his head, presumably so as not to crush his hair, and instead puts them on the back of his neck.
- This is actually becoming a trademark hairstyle for younger workers and college students in parts of Asia, to the point where those with 'spiked' hair outnumber those with traditionally slicked and parted 'dos in some contexts (though 'artificially unkempt' is catching on). Since many of them are from the generation that adopted it as a form of rebellion or due to Rule of Cool, the establishment has gradually become more tolerant. Still won't fly in high school or below, however.
- This is helped by the fact that most asians tend to have thick, abundant hair that spikes naturally, so many slicked hair needs a lot of gel or mousse and spiky hair is simpler to maintain. For similar reasons, spiky hairstyles are popular among latino men, since indigenous people of the Americas also have that coarse hair.
- Singers Howard Jones and Billy Idol both sported spiky hairstyles back in the '80s.


1 instantiation of DriveManagementIntrinsics
System.Management.Automation (1)
engine\SessionStatePublic.cs (1)
91
get { return _drive ??= new
DriveManagementIntrinsics
(_sessionState); }
7 references to DriveManagementIntrinsics
System.Management.Automation (7)
engine\hostifaces\Connection.cs (1)
1784
public virtual
DriveManagementIntrinsics
Drive
engine\hostifaces\ConnectionBase.cs (2)
1296
internal
DriveManagementIntrinsics
Drive
1526
protected abstract
DriveManagementIntrinsics
DoDrive { get; }
engine\hostifaces\LocalConnection.cs (1)
1083
protected override
DriveManagementIntrinsics
DoDrive
engine\remoting\client\remoterunspace.cs (1)
3179
public override
DriveManagementIntrinsics
Drive
engine\SessionStatePublic.cs (2)
89
public
DriveManagementIntrinsics
Drive
315
private
DriveManagementIntrinsics
_drive;


backoff strategies
|
- |
1 |
exponential strategy
|
- |
1 |
appears to work
|
- |
|
query builder
|
- |
10 |
measurement builder
|
- |
5 |
builds with only name
|
- |
|
builds with name and rp
|
- |
|
builds with name, rp, and db
|
- |
|
builds with name and db
|
- |
|
throws when a name is omitted
|
- |
|
expression builder
|
- |
5 |
creates basic queries
|
- |
|
inserts data types correctly
|
- |
|
throws when using a flagged regex
|
- |
|
throws when using un-stringifyable object
|
- |
|
| unit/builder.test.js |
- |
|
grammar
|
- |
17 |
does not escape raw values
|
- |
|
escapes complex values (issue #242)
|
- |
|
converts a nanoseconds timestamp to a nano date
|
- |
|
| unit/grammar.test.js |
- |
1 |
| unit/grammar.test.js |
- |
|
formatting
|
- |
2 |
formats nanosecond dates
|
- |
|
formats millisecond dates
|
- |
|
parsing
|
- |
7 |
parses ISO dates correctly
|
- |
|
parses numeric ns timestamps
|
- |
|
parses numeric u timestamps
|
- |
|
parses numeric ms timestamps
|
- |
|
parses numeric s timestamps
|
- |
|
parses numeric m timestamps
|
- |
|
parses numeric h timestamps
|
- |
|
timestamp casting
|
- |
4 |
casts dates into timestamps
|
- |
|
casts nanodates into timestamps
|
- |
|
accepts strings, numbers liternally
|
- |
|
throws on non-numeric strings
|
- |
|
influxdb
|
- |
60 |
constructor
|
- |
5 |
uses default options
|
- |
|
parses dsns
|
- |
|
parses single configs
|
- |
|
parses cluster configs
|
- |
|
parses parses schema
|
- |
|
methods
|
- |
55 |
.createDatabase()
|
- |
|
.dropDatabase()
|
- |
|
.getDatabaseNames()
|
- |
|
.getMeasurements()
|
- |
|
.getSeries() from all
|
- |
|
.getSeries() from single
|
- |
|
.dropMeasurement()
|
- |
|
.getUsers()
|
- |
|
.grantAdminPrivilege()
|
- |
|
.revokeAdminPrivilege()
|
- |
|
.dropUser()
|
- |
|
drops retention policies
|
- |
|
shows retention policies
|
- |
|
.dropSeries()
|
- |
5 |
drops with only from clause by string
|
- |
|
drops with only from clause by builder
|
- |
|
drops with only where clause by string
|
- |
|
drops with only where clause by builder
|
- |
|
drops with both
|
- |
|
.createUser()
|
- |
3 |
works with admin specified == true
|
- |
|
works with admin specified == false
|
- |
|
works with admin unspecified
|
- |
|
.grantPrivilege()
|
- |
3 |
queries correctly
|
- |
|
throws if DB unspecified
|
- |
|
fills in default DB
|
- |
|
.revokePrivilege()
|
- |
3 |
queries correctly
|
- |
|
throws if DB unspecified
|
- |
|
fills in default DB
|
- |
|
.createContinuousQuery()
|
- |
3 |
queries correctly
|
- |
|
throws if DB unspecified
|
- |
|
fills in default DB
|
- |
|
.dropContinuousQuery()
|
- |
3 |
queries correctly
|
- |
|
throws if DB unspecified
|
- |
|
fills in default DB
|
- |
|
.showContinousQueries()
|
- |
3 |
queries correctly
|
- |
|
throws if DB unspecified
|
- |
|
fills in default DB
|
- |
|
.writePoints()
|
- |
10 |
writes with all options specified without a schema
|
- |
|
writes using default options without a schema
|
- |
|
uses a schema to coerce
|
- |
|
throws on schema violations
|
- |
|
handles lack of tags
|
- |
|
handles lack of fields
|
- |
|
handles multiple tags
|
- |
|
writes with the .writeMeasurement method
|
- |
|
accepts nanoseconds (as ms)
|
- |
|
accepts timestamp overriding
|
- |
|
.query
|
- |
5 |
runs raw queries
|
- |
|
parses query output
|
- |
|
selects from multiple
|
- |
|
passes in options
|
- |
|
rewrites nanosecond precisions
|
- |
|
.createRetentionPolicy
|
- |
2 |
creates non-default policies
|
- |
|
creates default policies
|
- |
|
.alterRetentionPolicy
|
- |
2 |
creates non-default policies
|
- |
|
creates default policies
|
- |
|
pool
|
- |
17 |
attempts to make an https request
|
- |
|
passes through request options
|
- |
|
times out requests
|
- |
|
retries on a request error
|
- |
|
fails if too many errors happen
|
- |
|
calls back immediately on un-retryable error
|
- |
|
pings servers
|
- |
|
times out in pings
|
- |
|
request generators
|
- |
5 |
makes a text request
|
- |
|
includes request query strings and bodies
|
- |
|
discards responses
|
- |
|
parses JSON responses
|
- |
|
errors if JSON parsing fails
|
- |
|
backoff
|
- |
4 |
should error if there are no available hosts
|
- |
|
should reenable hosts after the backoff expires
|
- |
|
should back off if failures continue
|
- |
|
should reset backoff after success
|
- |
|
results
|
- |
8 |
parses a empty result
|
- |
|
parses a simple table of results
|
- |
|
parses a results with second-precision
|
- |
|
parses alternate epochs
|
- |
|
parses grouped results
|
- |
|
parses empty series
|
- |
|
parses empty values
|
- |
|
throws error on an errorful series
|
- |
|
schema
|
- |
11 |
coerceBadly
|
- |
1 |
apparently works
|
- |
|
basic schema
|
- |
10 |
coerces data correctly
|
- |
|
accepts partial data
|
- |
|
coerces numeric string data
|
- |
|
strips null and undefined values
|
- |
|
throws if wrong data type provided (bool)
|
- |
|
throws if wrong data type provided (float)
|
- |
|
throws if wrong data type provided (int)
|
- |
|
allows valid tags
|
- |
|
throws if invalid tags are provided
|
- |
|
throws if invalid fields are provided
|
- |
|


| tidy.lmodel2 {broom} | R Documentation |
Tidy summarizes information about the components of a model. A model component might be a single term in a regression, a single hypothesis, a cluster, or a class. Exactly what tidy considers to be a model component varies across models but is usually self-evident. If a model has several distinct types of components, you will need to specify which components to return.
## S3 method for class 'lmodel2' tidy(x, ...)
x |
A |
... |
Additional arguments. Not used. Needed to match generic
signature only. Cautionary note: Misspelled arguments will be
absorbed in |
There are always only two terms in an lmodel2
: "Intercept"
and "Slope"
. These are computed by four methods: OLS
(ordinary least squares), MA (major axis), SMA (standard major
axis), and RMA (ranged major axis).
The returned p-value is one-tailed and calculated via a permutation test.
A permutational test is used because distributional assumptions may not
be valid. More information can be found in
vignette("mod2user", package = "lmodel2")
.
A tibble::tibble()
with columns:
conf.high |
Upper bound on the confidence interval for the estimate. |
conf.low |
Lower bound on the confidence interval for the estimate. |
estimate |
The estimated value of the regression term. |
p.value |
The two-sided p-value associated with the observed statistic. |
term |
The name of the regression term. |
method |
Either OLS/MA/SMA/RMA |
Other lmodel2 tidiers:
glance.lmodel2()
library(lmodel2) data(mod2ex2) Ex2.res <- lmodel2(Prey ~ Predators, data = mod2ex2, "relative", "relative", 99) Ex2.res tidy(Ex2.res) glance(Ex2.res) # this allows coefficient plots with ggplot2 library(ggplot2) ggplot(tidy(Ex2.res), aes(estimate, term, color = method)) + geom_point() + geom_errorbarh(aes(xmin = conf.low, xmax = conf.high)) + geom_errorbarh(aes(xmin = conf.low, xmax = conf.high))


| A Cup of Radicchio: Install Oracle Database 11g XE on Ubuntu Server 16.04 LTS A personal website of a power looper, a skateboarder, and a coder |
|
| Home Docs Sources Blog GitHub |
Circa middle of April 2019
(For instructions on deinstalling Oracle Database 11g XE see this document.)
(1) Download the Oracle Database 11.2.X XE zipped RPM package
It is freely downloadable from their OTN website. (Note: It needs to have an Oracle Account: sign in or sign up for a new one.) The link is named as "Oracle Database Express Edition 11g Release 2 for Linux x64".
Transfer this package to the Ubuntu Server box:
$ scp -C oracle-xe-11.2.0-1.0.x86_64.rpm.zip <username>@<hostname>:/home/<username>
oracle-xe-11.2.0-1.0.x86_64.rpm.zip 100% 301MB 5.4MB/s 00:55
(2) Make the Oracle Database 11.2.X XE DEB (Debian) package
Do unzip
the RPM package:
$ unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
Archive: oracle-xe-11.2.0-1.0.x86_64.rpm.zip
creating: Disk1/
creating: Disk1/upgrade/
inflating: Disk1/upgrade/gen_inst.sql
creating: Disk1/response/
inflating: Disk1/response/xe.rsp
inflating: Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm
Install the Alien package:
$ sudo apt-get update && sudo apt-get install alien -y
Convert the RPM package to the DEB one (Superuser rights are required):
$ cd Disk1 && sudo alien -cd oracle-xe-11.2.0-1.0.x86_64.rpm
oracle-xe_11.2.0-2_amd64.deb generated
(3) Install the DEB package into the system
Adjust the AWK interpreter's invocation path (create a symlink) in order to allow the Oracle Database configuration utility find it:
$ sudo ln -sfnv /usr/bin/awk /bin/awk
'/bin/awk' -> '/usr/bin/awk'
Install the AIO library. It is required by the Oracle Database instance binary which is dynamically linked against this library:
$ sudo apt-get update && sudo apt-get install libaio1 -y
Install the created Oracle Database DEB package:
$ sudo dpkg -i oracle-xe_11.2.0-2_amd64.deb
Selecting previously unselected package oracle-xe.
(Reading database ... 142241 files and directories currently installed.)
Preparing to unpack oracle-xe_11.2.0-2_amd64.deb ...
Unpacking oracle-xe (11.2.0-2) ...
Setting up oracle-xe (11.2.0-2) ...
Executing post-install steps...
/var/lib/dpkg/info/oracle-xe.postinst: line 114: /sbin/chkconfig: No such file or directory
You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for mime-support (3.59ubuntu1) ...
(4) Configure the installed Oracle Database 11.2.X XE
Adjust Kernel parameters' defaults using this Bash script because it is required by the Oracle Database instance binary to run properly:
$ curl -O http://rgolubtsov.github.io/data/docs/ubuntusrv/oracle-11-2-x-xe-set-kernel-params && \
chmod -v 700 oracle-11-2-x-xe-set-kernel-params && \
sudo ./oracle-11-2-x-xe-set-kernel-params
...
mode of 'oracle-11-2-x-xe-set-kernel-params' changed from 0644 (rw-r--r--) to 0700 (rwx------)
=== Current values of Kernel parameters:
fs.file-max = 117228
net.ipv4.ip_local_port_range = 32768 60999
kernel.sem = 32000<PHONE_NUMBER> 500 32000
kernel.shmmax =<PHONE_NUMBER>3692774399
=== Set the new values for Kernel parameters:
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65000
kernel.sem = 250 32000 100 128
kernel.shmmax = 536870912
It needs to use their configuration utility exactly as stated on the previous step. The aforementioned AWK interpreter and AIO library will be involved here:
$ sudo /etc/init.d/oracle-xe configure
Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition. The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts. Press <Enter> to accept the defaults.
Ctrl-C will abort.
Specify the HTTP port that will be used for Oracle Application Express [8080]:8888
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts. Note that the same
password will be used for SYS and SYSTEM. Oracle recommends the use of
different passwords for each database account. This can be done after
initial configuration:
Confirm the password:
Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:n
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.
(5) Stop, start, check status, connect to the running Oracle Database 11.2.X XE instance
(5.1) Stop the Oracle Database instance
$ sudo /etc/init.d/oracle-xe stop
[ ok ] Stopping oracle-xe (via systemctl): oracle-xe.service.
(5.2) Start the Oracle Database instance
$ sudo /etc/init.d/oracle-xe start
[ ok ] Starting oracle-xe (via systemctl): oracle-xe.service.
(5.3) Check the status of the Oracle Database instance
$ sudo /etc/init.d/oracle-xe status
● oracle-xe.service - SYSV: This is a program that is responsible for taking care of
Loaded: loaded (/etc/init.d/oracle-xe; bad; vendor preset: enabled)
Active: active (exited) since Fri 2018-04-06 17:38:26 +03; 9min ago
Docs: man:systemd-sysv-generator(8)
Process: 10094 ExecStart=/etc/init.d/oracle-xe start (code=exited, status=0/SUCCESS)
Apr 06 17:38:19 <hostname> systemd[1]: Starting SYSV: This is a program that is responsible for taking care of...
Apr 06 17:38:19 <hostname> oracle-xe[10094]: Starting Oracle Net Listener.
Apr 06 17:38:19 <hostname> su[10106]: Successful su for oracle by root
Apr 06 17:38:19 <hostname> su[10106]: + ??? root:oracle
Apr 06 17:38:19 <hostname> su[10106]: pam_unix(su:session): session opened for user oracle by (uid=0)
Apr 06 17:38:19 <hostname> oracle-xe[10094]: Starting Oracle Database 11g Express Edition instance.
Apr 06 17:38:19 <hostname> su[10129]: Successful su for oracle by root
Apr 06 17:38:19 <hostname> su[10129]: + ??? root:oracle
Apr 06 17:38:19 <hostname> su[10129]: pam_unix(su:session): session opened for user oracle by (uid=0)
Apr 06 17:38:26 <hostname> systemd[1]: Started SYSV: This is a program that is responsible for taking care of.
(5.4) Connect to the running Oracle Database instance (and get data)
(Optional) Before executing any of Oracle Database utilities it needs to add the current user to the dba
group and set appropriate environment variables:
$ sudo usermod -a -G dba <username>
(Optional) Do relogin and check the current user is now a DBA:
$ groups
<usergroup> dba
Set Oracle Database-related environment variables:
$ . /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh
Use the SQL*Plus utility to connect to the database and perform any DBA operations on it:
$ sqlplus sys as sysdba
SQL*Plus: Release <IP_ADDRESS>.0 Production on Fri Apr 6 18:05:30 2018
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production
SQL> select * from all_users;
USERNAME USER_ID CREATED
------------------------------ ---------- ------------------
XS$NULL<PHONE_NUMBER> 28-AUG-11
APEX_040000 47 28-AUG-11
APEX_PUBLIC_USER 45 28-AUG-11
FLOWS_FILES 44 28-AUG-11
HR 43 28-AUG-11
MDSYS 42 28-AUG-11
ANONYMOUS 35 28-AUG-11
XDB 34 28-AUG-11
CTXSYS 32 28-AUG-11
OUTLN 9 28-AUG-11
SYSTEM 5 28-AUG-11
SYS 0 28-AUG-11
12 rows selected.
SQL> <Ctrl+D>
SQL> Disconnected from Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production
Happy Oracling in Ubuntu !


This Cookie Policy explains how City Atoms, LLC ("Company", "we", "us", and "our") uses cookies and similar technologies to recognize you when you visit our websites at https://cityatoms.com, ("Websites"). It explains what these technologies are and why we use them, as well as your rights to control our use of them.
In some cases we may use cookies to collect personal information, or that becomes personal information if we combine it with other information.
Cookies are small data files that are placed on your computer or mobile device when you visit a website. Cookies are widely used by website owners in order to make their websites work, or to work more efficiently, as well as to provide reporting information.
Cookies set by the website owner (in this case, City Atoms, LLC) are called "first party cookies". Cookies set by parties other than the website owner are called "third party cookies". Third party cookies enable third party features or functionality to be provided on or through the website (e.g. like advertising, interactive content and analytics). The parties that set these third party cookies can recognize your computer both when it visits the website in question and also when it visits certain other websites.
We use first and third party cookies for several reasons. Some cookies are required for technical reasons in order for our Websites to operate, and we refer to these as "essential" or "strictly necessary" cookies. Other cookies also enable us to track and target the interests of our users to enhance the experience on our Online Properties. Third parties serve cookies through our Websites for advertising, analytics and other purposes. This is described in more detail below.
The specific types of first and third party cookies served through our Websites and the purposes they perform are described below (please note that the specific cookies served may vary depending on the specific Online Properties you visit):
You have the right to decide whether to accept or reject cookies. You can exercise your cookie rights by setting your preferences in the Cookie Consent Manager. The Cookie Consent Manager allows you to select which categories of cookies you accept or reject. Essential cookies cannot be rejected as they are strictly necessary to provide you with services.
The Cookie Consent Manager can be found in the notification banner and on our website. If you choose to reject cookies, you may still use our website though your access to some functionality and areas of our website may be restricted. You may also set or amend your web browser controls to accept or refuse cookies. As the means by which you can refuse cookies through your web browser controls vary from browser-to-browser, you should visit your browser's help menu for more information.
In addition, most advertising networks offer you a way to opt out of targeted advertising. If you would like to find out more information, please visit http://aboutads.info/choices or http://wwww.youronlinechoices.com.
The specific types of first and third party cookies served through our Websites and the purposes they perform are described in the table below (please note that the specific cookies served may vary depending on the specific Online Properties you visit):
These cookies are strictly necessary to provide you with services available through our Websites and to use some of its features, such as access to secure areas.
Analytics and customization cookies:
These cookies collect information that is used either in aggregate form to help us understand how our Websites are being used or how effective our marketing campaigns are, or to help us customize our Websites for you.
What about other tracking technologies, like web beacons?
Cookies are not the only way to recognize or track visitors to a website. We may use other, similar technologies from time to time, like web beacons (sometimes called "tracking pixels" or "clear gifs"). These are tiny graphics files that contain a unique identifier that enable us to recognize when someone has visited our Websites or opened an e-mail including them. This allows us, for example, to monitor the traffic patterns of users from one page within a website to another, to deliver or communicate with cookies, to understand whether you have come to the website from an online advertisement displayed on a third-party website, to improve site performance, and to measure the success of e-mail marketing campaigns. In many instances, these technologies are reliant on cookies to function properly, and so declining cookies will impair their functioning.
Do you use Flash cookies or Local Shared Objects?
Websites may also use so-called "Flash Cookies" (also known as Local Shared Objects or "LSOs") to, among other things, collect and store information about your use of our services, fraud prevention and for other site operations.
If you do not want Flash Cookies stored on your computer, you can adjust the settings of your Flash player to block Flash Cookies storage using the tools contained in the Website Storage Settings Panel. You can also control Flash Cookies by going to the Global Storage Settings Panel and following the instructions (which may include instructions that explain, for example, how to delete existing Flash Cookies (referred to "information" on the Macromedia site), how to prevent Flash LSOs from being placed on your computer without your being asked, and (for Flash Player 8 and later) how to block Flash Cookies that are not being delivered by the operator of the page you are on at the time).
Please note that setting the Flash Player to restrict or limit acceptance of Flash Cookies may reduce or impede the functionality of some Flash applications, including, potentially, Flash applications used in connection with our services or online content.
Do you serve targeted advertising?
Third parties may serve cookies on your computer or mobile device to serve advertising through our Websites. These companies may use information about your visits to this and other websites in order to provide relevant advertisements about goods and services that you may be interested in. They may also employ technology that is used to measure the effectiveness of advertisements. This can be accomplished by them using cookies or web beacons to collect information about your visits to this and other sites in order to provide relevant advertisements about goods and services of potential interest to you. The information collected through this process does not enable us or them to identify your name, contact details or other details that directly identify you unless you choose to provide these.
How often will you update this Cookie Policy?
We may update this Cookie Policy from time to time in order to reflect, for example, changes to the cookies we use or for other operational, legal or regulatory reasons. Please therefore re-visit this Cookie Policy regularly to stay informed about our use of cookies and related technologies.
The date at the top of this Cookie Policy indicates when it was last updated.
Where can I get further information?
If you have any questions about our use of cookies or other technologies, please email us at<EMAIL_ADDRESS>or by post to:
City Atoms, LLC
16192 Coastal Highway
Lewes, DE 19958
United States


Namespace Orleans.Storage
Classes
AdoNetGrainStorage
A storage provider for writing grain state data to relational storage.
AdoNetGrainStorageFactory
DefaultRelationalStoragePicker
A strategy to pick a serializer or a deserializer for storage operations. This can be used to: 1) Add a custom serializer or deserializer for use in storage provider operations. 2) In combination with serializer or deserializer to update stored object version. 3) Per-grain storage format selection 4) Switch storage format first by reading using the save format and then writing in the new format.
DynamoDBGrainStorage
Dynamo DB storage Provider. Persist Grain State in a DynamoDB table either in Json or Binary format.
DynamoDBGrainStorageFactory
OrleansDefaultHasher
A default implementation uses the same hash as Orleans in grains placement.
OrleansStorageDefaultBinaryDeserializer
A default binary deserializer for storage providers.
OrleansStorageDefaultBinarySerializer
A default binary serializer for storage providers.
OrleansStorageDefaultJsonDeserializer
A default JSON deserializer for storage providers.
OrleansStorageDefaultJsonSerializer
A default JSON serializer for storage providers.
OrleansStorageDefaultXmlDeserializer
A default XML deserializer for storage providers.
OrleansStorageDefaultXmlSerializer
A default XML serializer for storage providers.
RelationalStorageProviderQueries
A container class for the queries currently used by the AdoNetGrainStorage.
StorageHasherPicker
Structs
SerializationChoice
Struct contains choice on streaming, storage deserializer and storage serializer
Interfaces
IHasher
An interface for all the hashing operations currently in Orleans Storage operations.
IStorageDeserializer
A canonical interface for a storage provider deserializer.
IStorageHasherPicker
A picker to choose from provided hash functions. Provides agility to update or change hashing functionality for both built-in and custom operations.
IStorageSerializationPicker
A strategy to pick a serializer or a deserializer for storage operations. As for an example, this can be used to: 1) Add a custom serializer or deserializer for use in storage provider operations (e.g. ProtoBuf or something else). 2) In combination with serializer or deserializer to update stored object version. 3) Per-grain storage format selection 4) Switch storage format first by reading using the save format and then writing in the new format.
IStorageSerializer
A canonical interface for a storage provider serializer.


clean-css is a fast and efficient CSS optimizer for Node.js platform and any modern browser.
According to tests it is one of the best available.
Table of Contents
@import
s correctly?clean-css requires Node.js 4.0+ (tested on Linux, OS X, and Windows)
npm install clean-css
var CleanCSS = require('clean-css');
var input = 'a{font-weight:bold;}';
var options = { /* options */ };
var output = new CleanCSS(options).minify(input);
clean-css 4.0 introduces some breaking changes:
root
, relativeTo
, and target
options are replaced by a single rebaseTo
option - this means that rebasing URLs and import inlining is much simpler but may not be (YMMV) as powerful as in 3.x;debug
option is gone as stats are always provided in output object under stats
property;roundingPrecision
is disabled by default;roundingPrecision
applies to all units now, not only px
as in 3.x;processImport
and processImportFrom
are merged into inline
option which defaults to local
. Remote @import
rules are NOT inlined by default anymore;inliner: { request: ..., timeout: ... }
option into inlineRequest
and inlineTimeout
options;//fonts.googleapis.com/css?family=Domine:700
, are not inlined anymore;{ compatibility: 'ie9' }
flag;keepSpecialComments
to specialComments
;roundingPrecision
and specialComments
to level 1 optimizations options, see examples;mediaMerging
, restructuring
, semanticMerging
, and shorthandCompacting
to level 2 optimizations options, see examples below;shorthandCompacting
option to mergeIntoShorthands
;keepBreaks
option is replaced with { format: 'keep-breaks' }
to ease transition;sourceMap
option has to be a boolean from now on - to specify an input source map pass it a 2nd argument to minify
method or via a hash instead;aggressiveMerging
option is removed as aggressive merging is replaced by smarter override merging.clean-css 4.1 introduces the following changes / features:
inline: false
as an alias to inline: ['none']
;multiplePseudoMerging
compatibility flag controlling merging of rules with multiple pseudo classes / elements;removeEmpty
flag in level 1 optimizations controlling removal of rules and nested blocks;removeEmpty
flag in level 2 optimizations controlling removal of rules and nested blocks;compatibility: { selectors: { mergeLimit: <number> } }
flag in compatibility settings controlling maximum number of selectors in a single rule;minify
method improved signature accepting a list of hashes for a predictable traversal;selectorsSortingMethod
level 1 optimization allows false
or 'none'
for disabling selector sorting;fetch
option controlling a function for handling remote requests;font
shorthand and font-*
longhand optimizers;optimizeFont
flag in level 1 optimizations due to new font
shorthand optimizer;skipProperties
flag in level 2 optimizations controlling which properties won't be optimized;animation
shorthand and animation-*
longhand optimizers;removeUnusedAtRules
level 2 optimization controlling removal of unused @counter-style
, @font-face
, @keyframes
, and @namespace
at rules;clean-css constructor accepts a hash as a parameter with the following options available:
compatibility
- controls compatibility mode used; defaults to ie10+
; see compatibility modes for examples;fetch
- controls a function for handling remote requests; see fetch option for examples (since 4.1.0);format
- controls output CSS formatting; defaults to false
; see formatting options for examples;inline
- controls @import
inlining rules; defaults to 'local'
; see inlining options for examples;inlineRequest
- controls extra options for inlining remote @import
rules, can be any of HTTP(S) request options;inlineTimeout
- controls number of milliseconds after which inlining a remote @import
fails; defaults to 5000;level
- controls optimization level used; defaults to 1
; see optimization levels for examples;rebase
- controls URL rebasing; defaults to true
;rebaseTo
- controls a directory to which all URLs are rebased, most likely the directory under which the output file will live; defaults to the current directory;returnPromise
- controls whether minify
method returns a Promise object or not; defaults to false
; see promise interface for examples;sourceMap
- controls whether an output source map is built; defaults to false
;sourceMapInlineSources
- controls embedding sources inside a source map's sourcesContent
field; defaults to false.There is a certain number of compatibility mode shortcuts, namely:
new CleanCSS({ compatibility: '*' })
(default) - Internet Explorer 10+ compatibility modenew CleanCSS({ compatibility: 'ie9' })
- Internet Explorer 9+ compatibility modenew CleanCSS({ compatibility: 'ie8' })
- Internet Explorer 8+ compatibility modenew CleanCSS({ compatibility: 'ie7' })
- Internet Explorer 7+ compatibility modeEach of these modes is an alias to a fine grained configuration, with the following options available:
new CleanCSS({
compatibility: {
colors: {
opacity: true // controls `rgba()` / `hsla()` color support
},
properties: {
backgroundClipMerging: true, // controls background-clip merging into shorthand
backgroundOriginMerging: true, // controls background-origin merging into shorthand
backgroundSizeMerging: true, // controls background-size merging into shorthand
colors: true, // controls color optimizations
ieBangHack: false, // controls keeping IE bang hack
ieFilters: false, // controls keeping IE `filter` / `-ms-filter`
iePrefixHack: false, // controls keeping IE prefix hack
ieSuffixHack: false, // controls keeping IE suffix hack
merging: true, // controls property merging based on understandability
shorterLengthUnits: false, // controls shortening pixel units into `pc`, `pt`, or `in` units
spaceAfterClosingBrace: true, // controls keeping space after closing brace - `url() no-repeat` into `url()no-repeat`
urlQuotes: false, // controls keeping quoting inside `url()`
zeroUnits: true // controls removal of units `0` value
},
selectors: {
adjacentSpace: false, // controls extra space before `nav` element
ie7Hack: true, // controls removal of IE7 selector hacks, e.g. `*+html...`
mergeablePseudoClasses: [':active', ...], // controls a whitelist of mergeable pseudo classes
mergeablePseudoElements: ['::after', ...], // controls a whitelist of mergeable pseudo elements
mergeLimit: 8191, // controls maximum number of selectors in a single rule (since 4.1.0)
multiplePseudoMerging: true // controls merging of rules with multiple pseudo classes / elements (since 4.1.0)
},
units: {
ch: true, // controls treating `ch` as a supported unit
in: true, // controls treating `in` as a supported unit
pc: true, // controls treating `pc` as a supported unit
pt: true, // controls treating `pt` as a supported unit
rem: true, // controls treating `rem` as a supported unit
vh: true, // controls treating `vh` as a supported unit
vm: true, // controls treating `vm` as a supported unit
vmax: true, // controls treating `vmax` as a supported unit
vmin: true // controls treating `vmin` as a supported unit
}
}
})
You can also use a string when setting a compatibility mode, e.g.
new CleanCSS({
compatibility: 'ie9,-properties.merging' // sets compatibility to IE9 mode with disabled property merging
})
The fetch
option accepts a function which handles remote resource fetching, e.g.
var request = require('request');
var source = '@import url(http://example.com/path/to/stylesheet.css);';
new CleanCSS({
fetch: function (uri, inlineRequest, inlineTimeout, callback) {
request(uri, function (error, response, body) {
if (error) {
callback(error, null);
} else if (response && response.statusCode != 200) {
callback(response.statusCode, null);
} else {
callback(null, body);
}
});
}
}).minify(source);
This option provides a convenient way of overriding the default fetching logic if it doesn't support a particular feature, say CONNECT proxies.
Unless given, the default loadRemoteResource logic is used.
By default output CSS is formatted without any whitespace unless a format
option is given.
First of all there are two shorthands:
new CleanCSS({
format: 'beautify' // formats output in a really nice way
})
and
new CleanCSS({
format: 'keep-breaks' // formats output the default way but adds line breaks for improved readability
})
however format
option also accept a fine-grained set of options:
new CleanCSS({
format: {
breaks: { // controls where to insert breaks
afterAtRule: false, // controls if a line break comes after an at-rule; e.g. `@charset`; defaults to `false`
afterBlockBegins: false, // controls if a line break comes after a block begins; e.g. `@media`; defaults to `false`
afterBlockEnds: false, // controls if a line break comes after a block ends, defaults to `false`
afterComment: false, // controls if a line break comes after a comment; defaults to `false`
afterProperty: false, // controls if a line break comes after a property; defaults to `false`
afterRuleBegins: false, // controls if a line break comes after a rule begins; defaults to `false`
afterRuleEnds: false, // controls if a line break comes after a rule ends; defaults to `false`
beforeBlockEnds: false, // controls if a line break comes before a block ends; defaults to `false`
betweenSelectors: false // controls if a line break comes between selectors; defaults to `false`
},
indentBy: 0, // controls number of characters to indent with; defaults to `0`
indentWith: 'space', // controls a character to indent with, can be `'space'` or `'tab'`; defaults to `'space'`
spaces: { // controls where to insert spaces
aroundSelectorRelation: false, // controls if spaces come around selector relations; e.g. `div > a`; defaults to `false`
beforeBlockBegins: false, // controls if a space comes before a block begins; e.g. `.block {`; defaults to `false`
beforeValue: false // controls if a space comes before a value; e.g. `width: 1rem`; defaults to `false`
},
wrapAt: false // controls maximum line length; defaults to `false`
}
})
inline
option whitelists which @import
rules will be processed, e.g.
new CleanCSS({
inline: ['local'] // default; enables local inlining only
})
new CleanCSS({
inline: ['none'] // disables all inlining
})
// introduced in clean-css 4.1.0
new CleanCSS({
inline: false // disables all inlining (alias to `['none']`)
})
new CleanCSS({
inline: ['all'] // enables all inlining, same as ['local', 'remote']
})
new CleanCSS({
inline: ['local', 'mydomain.example.com'] // enables local inlining plus given remote source
})
new CleanCSS({
inline: ['local', 'remote', '!fonts.googleapis.com'] // enables all inlining but from given remote source
})
The level
option can be either 0
, 1
(default), or 2
, e.g.
new CleanCSS({
level: 2
})
or a fine-grained configuration given via a hash.
Please note that level 1 optimization options are generally safe while level 2 optimizations should be safe for most users.
Level 0 optimizations simply means "no optimizations". Use it when you'd like to inline imports and / or rebase URLs but skip everything else.
Level 1 optimizations (default) operate on single properties only, e.g. can remove units when not required, turn rgb colors to a shorter hex representation, remove comments, etc
Here is a full list of available options:
new CleanCSS({
level: {
1: {
cleanupCharsets: true, // controls `@charset` moving to the front of a stylesheet; defaults to `true`
normalizeUrls: true, // controls URL normalization; defaults to `true`
optimizeBackground: true, // controls `background` property optimizations; defaults to `true`
optimizeBorderRadius: true, // controls `border-radius` property optimizations; defaults to `true`
optimizeFilter: true, // controls `filter` property optimizations; defaults to `true`
optimizeFont: true, // controls `font` property optimizations; defaults to `true`
optimizeFontWeight: true, // controls `font-weight` property optimizations; defaults to `true`
optimizeOutline: true, // controls `outline` property optimizations; defaults to `true`
removeEmpty: true, // controls removing empty rules and nested blocks; defaults to `true`
removeNegativePaddings: true, // controls removing negative paddings; defaults to `true`
removeQuotes: true, // controls removing quotes when unnecessary; defaults to `true`
removeWhitespace: true, // controls removing unused whitespace; defaults to `true`
replaceMultipleZeros: true, // contols removing redundant zeros; defaults to `true`
replaceTimeUnits: true, // controls replacing time units with shorter values; defaults to `true`
replaceZeroUnits: true, // controls replacing zero values with units; defaults to `true`
roundingPrecision: false, // rounds pixel values to `N` decimal places; `false` disables rounding; defaults to `false`
selectorsSortingMethod: 'standard', // denotes selector sorting method; can be `'natural'` or `'standard'`, `'none'`, or false (the last two since 4.1.0); defaults to `'standard'`
specialComments: 'all', // denotes a number of /*! ... */ comments preserved; defaults to `all`
tidyAtRules: true, // controls at-rules (e.g. `@charset`, `@import`) optimizing; defaults to `true`
tidyBlockScopes: true, // controls block scopes (e.g. `@media`) optimizing; defaults to `true`
tidySelectors: true, // controls selectors optimizing; defaults to `true`,
transform: function () {} // defines a callback for fine-grained property optimization; defaults to no-op
}
}
});
There is an all
shortcut for toggling all options at the same time, e.g.
new CleanCSS({
level: {
1: {
all: false, // set all values to `false`
tidySelectors: true // turns on optimizing selectors
}
}
});
Level 2 optimizations operate at rules or multiple properties level, e.g. can remove duplicate rules, remove properties redefined further down a stylesheet, or restructure rules by moving them around.
Please note that if level 2 optimizations are turned on then, unless explicitely disabled, level 1 optimizations are applied as well.
Here is a full list of available options:
new CleanCSS({
level: {
2: {
mergeAdjacentRules: true, // controls adjacent rules merging; defaults to true
mergeIntoShorthands: true, // controls merging properties into shorthands; defaults to true
mergeMedia: true, // controls `@media` merging; defaults to true
mergeNonAdjacentRules: true, // controls non-adjacent rule merging; defaults to true
mergeSemantically: false, // controls semantic merging; defaults to false
overrideProperties: true, // controls property overriding based on understandability; defaults to true
removeEmpty: true, // controls removing empty rules and nested blocks; defaults to `true`
reduceNonAdjacentRules: true, // controls non-adjacent rule reducing; defaults to true
removeDuplicateFontRules: true, // controls duplicate `@font-face` removing; defaults to true
removeDuplicateMediaBlocks: true, // controls duplicate `@media` removing; defaults to true
removeDuplicateRules: true, // controls duplicate rules removing; defaults to true
removeUnusedAtRules: false, // controls unused at rule removing; defaults to false (available since 4.1.0)
restructureRules: false, // controls rule restructuring; defaults to false
skipProperties: [] // controls which properties won't be optimized, defaults to `[]` which means all will be optimized (since 4.1.0)
}
}
});
There is an all
shortcut for toggling all options at the same time, e.g.
new CleanCSS({
level: {
2: {
all: false, // sets all values to `false`
removeDuplicateRules: true // turns on removing duplicate rules
}
}
});
Once configured clean-css provides a minify
method to optimize a given CSS, e.g.
var output = new CleanCSS(options).minify(source);
The output of the minify
method is a hash with following fields:
console.log(output.styles); // optimized output CSS as a string
console.log(output.sourceMap); // output source map if requested with `sourceMap` option
console.log(output.errors); // a list of errors raised
console.log(output.warnings); // a list of warnings raised
console.log(output.stats.originalSize); // original content size after import inlining
console.log(output.stats.minifiedSize); // optimized content size
console.log(output.stats.timeSpent); // time spent on optimizations in milliseconds
console.log(output.stats.efficiency); // `(originalSize - minifiedSize) / originalSize`, e.g. 0.25 if size is reduced from 100 bytes to 75 bytes
The minify
method also accepts an input source map, e.g.
var output = new CleanCSS(options).minify(source, inputSourceMap);
or a callback invoked when optimizations are finished, e.g.
new CleanCSS(options).minify(source, function (error, output) {
// `output` is the same as in the synchronous call above
});
If you prefer clean-css to return a Promise object then you need to explicitely ask for it, e.g.
new CleanCSS({ returnPromise: true })
.minify(source)
.then(function (output) { console.log(output.styles); })
.catch(function (error) { // deal with errors });
Clean-css has an associated command line utility that can be installed separately using npm install clean-css-cli
. For more detailed information, please visit https://github.com/jakubpawlowicz/clean-css-cli.
It can be done either by passing an array of paths, or, when sources are already available, a hash or an array of hashes:
new CleanCSS().minify(['path/to/file/one', 'path/to/file/two']);
new CleanCSS().minify({
'path/to/file/one': {
styles: 'contents of file one'
},
'path/to/file/two': {
styles: 'contents of file two'
}
});
new CleanCSS().minify([
{'path/to/file/one': {styles: 'contents of file one'}},
{'path/to/file/two': {styles: 'contents of file two'}}
]);
Passing an array of hashes allows you to explicitly specify the order in which the input files are concatenated. Whereas when you use a single hash the order is determined by the traversal order of object properties - available since 4.1.0.
Important note - any @import
rules already present in the hash will be resolved in memory.
In order to inline remote @import
statements you need to provide a callback to minify method as fetching remote assets is an asynchronous operation, e.g.:
var source = '@import url(http://example.com/path/to/remote/styles);';
new CleanCSS({ inline: ['remote'] }).minify(source, function (error, output) {
// output.styles
});
If you don't provide a callback, then remote @import
s will be left as is.
If clean-css doesn't perform a particular property optimization, you can use transform
callback to apply it:
var source = '.block{background-image:url(/path/to/image.png)}';
var output = new CleanCSS({
level: {
1: {
transform: function (propertyName, propertyValue) {
if (propertyName == 'background-image' && propertyValue.indexOf('/path/to') > -1) {
return propertyValue.replace('/path/to', '../valid/path/to');
}
}
}
}
}).minify(source);
console.log(output.styles); # => .block{background-image:url(../valid/path/to/image.png)}
Note: returning false
from transform
callback will drop a property.
The level 1 roundingPrecision
optimization option accept a string with per-unit rounding precision settings, e.g.
new CleanCSS({
level: {
1: {
roundingPrecision: 'all=3,px=5'
}
}
}).minify(source)
which sets all units rounding precision to 3 digits except px
unit precision of 5 digits.
Use the /*!
notation instead of the standard one /*
:
/*!
Important comments included in optimized output.
*/
clean-css will handle it automatically for you in the following cases:
rebaseTo
is used with any of above two.To generate a source map, use sourceMap: true
option, e.g.:
new CleanCSS({ sourceMap: true, rebaseTo: pathToOutputDirectory })
.minify(source, function (error, output) {
// access output.sourceMap for SourceMapGenerator object
// see https://github.com/mozilla/source-map/#sourcemapgenerator for more details
});
You can also pass an input source map directly as a 2nd argument to minify
method:
new CleanCSS({ sourceMap: true, rebaseTo: pathToOutputDirectory })
.minify(source, inputSourceMap, function (error, output) {
// access output.sourceMap to access SourceMapGenerator object
// see https://github.com/mozilla/source-map/#sourcemapgenerator for more details
});
or even multiple input source maps at once:
new CleanCSS({ sourceMap: true, rebaseTo: pathToOutputDirectory }).minify({
'path/to/source/1': {
styles: '...styles...',
sourceMap: '...source-map...'
},
'path/to/source/2': {
styles: '...styles...',
sourceMap: '...source-map...'
}
}, function (error, output) {
// access output.sourceMap as above
});
Using the hash configuration specifying both optimization levels, e.g.
new CleanCSS({
level: {
1: {
all: true,
normalizeUrls: false
},
2: {
restructureRules: true
}
}
})
will apply level 1 optimizations, except url normalization, and default level 2 optimizations with rule restructuring.
All level 2 optimizations are dispatched here, and this is what they do:
recursivelyOptimizeBlocks
- does all the following operations on a nested block, like @media
or @keyframe
;recursivelyOptimizeProperties
- optimizes properties in rulesets and flat at-rules, like @font-face, by splitting them into components (e.g. margin
into margin-(bottom|left|right|top)
), optimizing, and restoring them back. You may want to use mergeIntoShorthands
option to control whether you want to turn multiple components into shorthands;removeDuplicates
- gets rid of duplicate rulesets with exactly the same set of properties, e.g. when including a Sass / Less partial twice for no good reason;mergeAdjacent
- merges adjacent rulesets with the same selector or rules;reduceNonAdjacent
- identifies which properties are overridden in same-selector non-adjacent rulesets, and removes them;mergeNonAdjacentBySelector
- identifies same-selector non-adjacent rulesets which can be moved (!) to be merged, requires all intermediate rulesets to not redefine the moved properties, or if redefined to have the same value;mergeNonAdjacentByBody
- same as the one above but for same-selector non-adjacent rulesets;restructure
- tries to reorganize different-selector different-rules rulesets so they take less space, e.g. .one{padding:0}.two{margin:0}.one{margin-bottom:3px}
into .two{margin:0}.one{padding:0;margin-bottom:3px}
;removeDuplicateFontAtRules
- removes duplicated @font-face
rules;removeDuplicateMediaQueries
- removes duplicated @media
nested blocks;mergeMediaQueries
- merges non-adjacent @media
at-rules by the same rules as mergeNonAdjacentBy*
above;There is a number of 3rd party plugins to popular build tools:
See CONTRIBUTING.md.
First clone the sources:
git clone git@github.com:jakubpawlowicz/clean-css.git
then install dependencies:
cd clean-css
npm install
then use any of the following commands to verify your copy:
npm run bench # for clean-css benchmarks (see [test/bench.js](https://github.com/jakubpawlowicz/clean-css/blob/master/test/bench.js) for details)
npm run browserify # to create the browser-ready clean-css version
npm run check # to lint JS sources with [JSHint](https://github.com/jshint/jshint/)
npm test # to run all tests
Sorted alphabetically by GitHub handle:
@import
processing;@import
processing inside comments;minify
method source traversal in ES6;sys
package;@import
inlining and URL rebasing.@import
inlining behavior;clean-css is released under the MIT License.


About Me
After spending many years in the land of AS/400s (and a couple side years in JDE), I decided to branch out and start learning some new things.
After spending many years in the land of AS/400s (and a couple side years in JDE), I decided to branch out and start learning some new things.


bogon filter
`Prev `__
B
`Next `__
--------------
**bogon filter**: /boh´gon fil'tr/, n.
Any device, software or hardware, that limits or suppresses the flow
and/or emission of bogons. “Engineering hacked a bogon filter between
the Cray and the VAXen, and now we're getting fewer dropped packets.”
See also `*bogosity* `__, `*bogus* `__.
--------------
+--------------------------+----------------------------+-------------------------------+
| `Prev `__ | `Up <../B.html>`__ | `Next `__ |
+--------------------------+----------------------------+-------------------------------+
| bogon | `Home <../index.html>`__ | bogon flux |
+--------------------------+----------------------------+-------------------------------+


Home > Notepad Tricks > Fake Error Message
Fake Error Message
wanted to prank someone who is not good with computer and you are not their, well here you are.
Copy and Paste. Save with the title anything.bat
Or Download Far Below
@echo off
cls
echo Fatal Error!! Your computer is under attack!!
pause
echo Deleting Files
pause
:files
echo !323%%%@#@GJFGG42JG
echo !3424%@#%^&@52%@%gs
echo !@$@^624@$6262$hG
echo !@#4-07234&5*((6hkd
echo !&^%78755&*%478*%$&
echo !^$$68*$78()&4578
echo !&8898*65$$566$68(9
pause
goto files*
When it is done it should look like this:
Hit f11 or f12 to make it full screen to freak them out
Use Media Fire If You Just Want To Download The File
Hosted here


Welcome to Kabal
Kabal was originally established as a Guild Wars guild in 2007. Since then, Kabal has spread across multiple games and become a more general gaming community. Kabal has had members and chapters in games ranging from MMOs like Runes of Magic, Lord of the Rings Online, DC Universe Online, Rift, Guild Wars 2, Final Fantasy 14 and the original Guild Wars to competitive/cooperative games such as Left 4 Dead, Team Fortress, Dungeon Defenders, League of Legends, DOTA 2, and Minecraft.
Kabal utilizes Discord for voice and text chat to foster a friendly and active community outside of a specific game, keeping the guild connected no matter what any member happens to be doing at the time.
If you are seeking a community that spans beyond a single game and focuses on promoting friendship, fellowship and synergy between members and the guild, rather than the pursuit of progression and loot, then you may consider joining our family!
Guild Leaders
Kabal was originally founded in Guild Wars by the following three individuals. These three continue to lead and administrate the guild with the help of the guild officers.
- Eve
- Jerek
- Trev
Guild Officers
Kabal officers are members who took it upon themselves to go above and beyond the call of duty and showed leadership in the greater structure of the guild and community. These individuals volunteered to help lead the guild in an official capacity and were promoted to officer status by the guild leadership.
- Brian
- Gwen
- Master
- Mizetto
- Spazter
- Trevor
- Zyra
Kabal Guild Rules & Charter
The following should be read and understood by all guild members. Any and all questions should be directed to an officer or leader of Kabal.
The Guild Leaders reserve the right to make changes or exceptions to these rules at any time.
Mission Statement
Our main focus is to promote friendship, fellowship and synergy between members and the guild, rather than the pursuit of progression and loot.
Code of Conduct & Membership Requirements
Although Kabal is a laid-back guild, we have some expectations for our members’ behavior. These rules are important in maintaining order and goodwill among our members, as well as our external guild image.
If you witness another member of Kabal breaking a rule, bring it to the attention of an officer or leader.
Behavior
- Don’t be a jackass...
- It is expected that all members of Kabal treat their fellow members with respect. Respect - the objective, unbiased consideration and regard for the rights, values, beliefs and property of all people.
- Do not beg or ask for money and items from anyone (unless you are willing to pay).
- Do not repeatedly spam any public channel, whether in a game, or on Discord.
- Do not create or contribute to a dispute in guild, alliance, or public chats. Disputes and arguments should be handled privately and in a civilized manner. If a conflict cannot be handled in this manner, an officer or leader should be sought out to mediate the dispute.
- When using a channel or voice server shared by other guilds, keep their own Codes of Conduct in mind. Not everyone is as strict/relaxed as we are.
- In our Discord, Push to Talk is required if in a guild scheduled event (raids, missions, etc).
- No cheating of any kind will be tolerated. This includes (but is not limited to) exploiting and scamming. If you are unsure if an action may be considered as such, find an officer or leader and ask.
- Profanity and adult-oriented topics are tolerated. However, this does not mean that guild channels should become saturated with either.
- If someone finds a topic in a public channel to be offensive, respect your fellow member and move the conversation to a private channel.
Consequences
Depending on the severity of the offense, members that violate one of the guild rules may be given a warning. If a repeat infraction occurs, the member will be removed from the guild.
Inactivity
Members will be kicked from guild after 90 days of inactivity if no notice is given, 180 days if notice is given.
Membership Requirements
Please note that Kabal is an adult guild in which adult conversations take place; therefore, we do prefer members to be over the age of 17. Members under this limit are expected to act accordingly and to be respectful of other members of the guild.
While an extensive knowledge of the game is not required, Kabal members should be willing to learn as well as teach. By helping others we help ourselves and build the guild as a whole.
Kabal does make use of Discord for voice and text chat. While it is not required to use it, it can help you while doing runs in game and becoming a part of our community outside of game!
While progress is a goal for Kabal, it is not the ultimate goal. If you are looking for a quick progression guild or access to high level loot, Kabal might not be the guild for you. If you are looking for a way to improve your skills and develop as a player, Kabal will welcome you with open arms.
GW2 Specific Rules and Requirements
No representation requirements at this time.
If there's something in the guild bank or something regarding the guild hall that you do not have permissions for, ask an Officer. If you are unsure about the guild bank usage, ask an officer.
Do you want a dental plan with that?
Yes, I'd like to keep my teeth healthy to eat Quaggan babies (This should be your answer in the applications to verify that you have read the Kabal's Righteous Rules!)
Apply to Kabal
Kabal is recruiting.  Adventurers wanted for Hazardous Journey. Small wages, bitter cold, long months of complete darkness, constant danger, safe return doubtful.
Apply Now
If you have read and agree to the rules listed above, you may apply here.