Category Archives: Sh*ts

Continuing Public/Private Surveillance Partnership

The Continuing Public/Private Surveillance Partnership

If you’ve been reading the news recently, you might think that corporate America is doing its best to thwart NSA surveillance.

Google just announced that it is encrypting Gmail when you access it from your computer or phone, and between data centers. Last week, Mark Zuckerberg personally called President Obama to complain about the NSA using Facebook as a means to hack computers, and Facebook’s Chief Security Officer explained to reporters that the attack technique has not worked since last summer. Yahoo, Google, Microsoft, and others are now regularly publishing “transparency reports,” listing approximately how many government data requests the companies have received and complied with.

Read more at
 
https://www.schneier.com/blog/archives/2014/03/the_continuing_.html

 

Google Add to Calendar link

This is how

<a href="http://www.google.com/calendar/event?
action=TEMPLATE
&text=[event-title]
&dates=[start-custom format='Ymd\\THi00\\Z']/[end-custom format='Ymd\\THi00\\Z']
&ctz=America/New_York
&details=[description]
&location=[location]
&trp=false
&sprop=
&sprop=name:"
target="_blank" rel="nofollow">Add to Google Calendar</a>

 

Vigo pedirá en referendo a adhesión a Portugal??


Polo menos douscentos cincuenta mil vigueses están chamados ás urnas para decidir en referendo o futuro da cidade de Vigo.

Habitante de Vigo defensor da incorporación á República de Portugal

Despois de anos de rumores e difamacións acerca da procedencia e nacionalidade dos habitantes vigueses, o levantamento popular das clases lusistas da cidade, fará posíbel este pronuciamento.

Read more at http://temposgalegos.com/2014/03/17/vigo-pedira-en-referendo-a-adhesion-a-portugal/

 

 

GMail – address alias

 

CSS3 – change image – blur, brightness, saturation, hue, contrast, invert colors, grayscale and sepia

So, if you plan to change some of image properties with CSS filter is your solution.

-webkit-filter: filter(value);
-moz-filter: filter(value);
-o-filter: filter(value);
-ms-filter: filter(value);

You can replace filter with the following values

  • blur
  • brightness
  • saturate,
  • hue-rotate
  • contrast
  • invert
  • grayscale
  • sepia

Example

filter: invert(100%);
// Browser Specific
-webkit-filter: invert(100%);
-moz-filter: invert(100%);
-o-filter: invert(100%);
-ms-filter: invert(100%);

Concat/concatenate then

filter: blur(5px) brightness(0.5);

 

More readings

http://codepen.io/rss/pen/ftnDd
http://www.inserthtml.com/2012/06/css-filters/

Top 5 security flaws within websites and how to prevent them

So we’re now into 2014 and websites are starting to become way more advanced by implementing new technologies such as AJAX, fancy web forms and even web sockets. However, little do webmaster’s realise that they’re opening a space for huge security flaws within their websites / web applications / web services for malicious hackers to take advantage of.

Read more at http://joel-murphy.com/top-5-security-flaws-within-websites-and-how-to-prevent-them/

 

Displaying charts in tabs

I have two amcharts on different tabs. A stock chart to be place on #chartdiv and a pie chart to be placed on #chartdivpie. This is how I solved my problem.

My custom css – to overwrite bootstrap –

#chartdivpie { width: 1138px; height: 500px; }
.tab-content .tab-pane {
   position: absolute;
   top: -9999px;
   left: -9999px;
   display: inline;
}
.tab-content .tab-pane.active {
    position: inherit !important;
}

JQuery call

$('#myTab a').click(function (e) {
      e.preventDefault()
        $(this).tab('show');
        chart.invalidateSize();
        chart.write('chartdiv');
    })

 

See the discussion here http://stackoverflow.com/questions/10013408/amcharts-doesnt-display-chart-for-initially-hidden-divs/22289182#22289182

DigitalOcean – redesigned

DigitalOcean’s home page has been redesigned!

Its always to keep a historic of some of the  webpages of services that lead the way and some how mark us. DigitalOcean is one of them….
As MediaTemple… who remember that mediatemple.com and mediatemple.net were different on their business target? I do!

Actually I have 3 droplets @ DigitalOcean.
F*cking faster that those VPSs with CPanels, etc etc etc.

Continue reading DigitalOcean – redesigned