NEVER EVER DONE FOR ANYONE IN THE INDUSTRY! Event RackNerd Red Envelope Event – Free credits for everyone!

RackNerd Is pleased to announce our new Red Envelope event, in celebration of the Lunar New Year! Anyone can participate in this creative and fun event! This has never been done in the industry, we innovate in RackNerd and introduce infrastructure stability! You will be excited to read what we just launched and developed.

Read the following carefully as everyone (yes, including you) is automatically eligible to receive free credits!

one) Existing and new registered customers: log in to your RackNerd account or sign up for an account by clicking HERE from 01/16/2020 to 02/16/2020 to get a FREE Red RackNerd Envelope. The red envelope will appear as soon as you log in to the client area. Click on the Open button to reveal what you won! Once you click on the Continue button, the amount you earned will be automatically reflected in your available credit balance.

You will have the opportunity to receive up to $ 18 instantly, just by logging in to your client area! Once your red envelope is claimed, it will not appear again when you log in.

two) Do you want to receive another red envelope? Place a new order from 01/16/2020 to 02/16/2020, RackNerd will offer each new order a FREE Red Envelope, the more products you request, the more red envelopes you receive! ALL products we offer, including special promotional items, are eligible to receive a red envelope!

The red envelope will appear on your invoice page at the end of the purchase and will automatically apply the credit to your invoice for the new order. The TOTAL amount of the invoice will reflect the reduced amount after the credits were applied. You can then continue paying your order at the reduced rate.

VPS orders: Receive up to $ 18.88 USD instantly
Dedicated server orders: Receive up to $ 188 USD instantly

Click here to see the Lunar New Year specials!
All amounts of the red envelopes will automatically be credited to your RackNerd account, without the need to open a support ticket to activate them.

This is a patented system that was developed by RackNerd – It was designed to be fun and creative for everyone to participate and benefit! Note that the credit amounts of the red envelope are randomly generated by the system automatically. We hope you enjoy it!

incident response – AlienVault Alert – What does this event say?

Title: ALA4747 - AV Policy violation, Tor anonymity network usage on ( ->
Extra info: 
Source IPs: 
Source Ports: 64689 
Dest. IPs: 
Dest. Ports: 53 
Ticket details 
Event Type: AlienVault NIDS  

Event Description: AlienVault NIDS: "ET POLICY DNS Query for TOR Hidden Domain .onion Accessible Via TOR"  

Ocurrences: 2 First Ocurrence: 2019-12-17 17:56:50  

Last Ocurrence: 2019-12-17 17:56:50 Number of different sources: 2 Number of different destinations: 2 Source: Dest: 

Event Type: directive_alert Event Description: directive_event: AV Policy violation, Tor anonymity network usage on SRC_IP 
Occurrences: 2 
First Occurrence: 2019-12-17 17:58:45 
Last Occurrence: 2019-12-17 17:58:45  
Number of different sources: 2 
Number of different destinations: 2  

r: creation of network data from event level data

As a rookie in network analysis, I am struggling to transform an event level data set that I want to plot in the right way. I am grateful for any clues / clues / etc. What I did so far follows this introduction widely.

The data set in question contains events organized by the political party Jobbik. Each event defined by a unique identification (id) has associated organizational sponsors (org_names) and its type (org) There is no hierarchy between org_1, org_2or org_names1 Y org_names2.

Originally, the data set comes in a wide format. Although I'm not sure if this is what I should be doing, the first step I do is transform the data into a long format and clean the strings a bit. This is the code to read the data and put it in a long format:

jobbik <- read.csv("")


# long format

jobbik <- reshape(, dir='long',
                  varying=list(c(3:13), c(14:24)),
                  v.names=c('org_names', 'org'), times = c(as.character(seq(1:11))))
jobbik$org <- str_trim(jobbik$org, side="both")
jobbik$org_names <- str_trim(jobbik$org_names, side="both")
jobbik <- jobbik %>%
  filter(!(org=="no other organizer" & org_names=="")) %>%
  filter(!(org=="JOBBIK" & org_names %in% c("Jobbik",
                                            "Jobbik Magyarországért Mozgalom",
                                            "aktivisté Jobbiku",
                                            "a Jobbik"))) %>% 
  mutate(org_names=ifelse(org_names=="", org, org_names)) %>%

In the next step, I want to create the network data set. To do this, I calculate the number of times each unique organization has been involved in events with Jobbik. Add Jobbik as one side of each border and trace the data with igraph:

network <- jobbik %>%
  select(id, org_names) %>% 
  group_by(org_names) %>%
  summarise(weight = n()) %>% 
  ungroup() %>% 
         org_names=as.factor(org_names)) %>% 

edges <- network %>% select(from, org_id, weight)
nodes <- network %>% select(org_id, org_names) %>% 

routes_igraph <- graph_from_data_frame(d = edges, vertices = nodes, directed = FALSE)

plot(routes_igraph, layout = layout_with_graphopt)

While this runs and creates the network, it only gives me the relationship between each unique organization and Jobbik, but not the relationship between these organizations, which do not involve Jobbik. I realize that the error is in the transformation of data that I do and I must use the event level information to calculate the number of times that each organizational pair has been involved in organizing something together, then graphing that data. Unfortunately, although I don't know how to get there. I am grateful for any help.

8 – adding a new validation method using the HookEventDispatcherInterface event :: FORM_ALTER

I am trying to add a new validation method for & # 39; user_login_form & # 39; using the HookEventDispatcher module and events:

class MyFormEventsSubscriber implements EventSubscriberInterface {

public static function getSubscribedEvents() {
      return ( HookEventDispatcherInterface::FORM_ALTER => 'alterForm');

public function alterForm(FormAlterEvent $event) {

    if ($event->getFormId() == 'user_login_form') {

      $form = &$event->getForm();
      $form('#validate')() = 'my_api_authentication';


  function my_api_authentication(&$form, FormStateInterface $form_state) {
    $test = 1;

But I never reach my_api_authentication function. How do I need to refer it and where is it supposed to be implemented?

It might be that I should drive with hook_form_FORM_ID_alter instead FORM_ALTER HookEventDispatcherInterface event?

unity – How to enable canvas with Event during an animation clip

I want to enable a canvas while playing an animation clip, I used the animation event and I call the following script to enable the canvas, but the editor does not recognize any game object.

How can you enable a canvas?

public void SetActiveTrue(GameObject game_object)

jquery – ajax onclick button event

Help yourself with the methods beforeSend Y complete AJAX to control your request, as they say, before sending it and when it is completed.

According to your documentation with the spinner you want to use, this would be like this:

  1. Add your HTML from spinner that you want to use, that is, add an element and add an id to manipulate it. You should put this code in your HTML document in an ordinary way in your file .html:

  1. We add the beforeSend in your AJAX request to show the spinner that is hidden from the beginning with the css property added display:none

    type: 'POST',
    url: global_data.url + '/muro-stream.php?do=post&type=' +,
    data: 'adj=' + +'&data=' + encodeURIComponent(data) + '&pid=' + $('#info').attr('pid') + '&privacidad=' + privacidad,
    beforeSend : function() {
    success: function(h){
            case '0': //Error
                mydialog.alert('Error al publicar', h.substring(3));                            
            case '1': //OK
                if($('#solouno')) $('#solouno').hide();
                $('#wall-content, #news-content, #destacados-content, #populares-content, #publico-content').prepend($(h.substring(3)).fadeIn('slow'));
                //$.scrollTo($('#news-content'), 500);
    complete: function (){
        // LOADER/ STATUS; = 0;

Notice how we add this part to the code to show the spinner before starting the request:

    beforeSend : function() {

Also, we have modified part of your code so that when completing the ajax request with errors or not, that element is hidden with the $("#mi-spinner").hide();:

    complete: function (){
        // LOADER/ STATUS; = 0;

This should work for you to achieve your goal of showing and hiding the spinner in the ajax request.


I added and fixed some syntax errors and also that the element should be hidden in the complete and in the beforeSend appear.

The electron – .on (& # 39; stream & # 39;) event does not seem to be triggered using peerjs + react-native-peerjs

I am trying to connect my laptop and my mobile using PeerJS

First I launch the electron application on my laptop, generate an ID and pass it to my native reaction application, which then tries to connect by pressing a button.


const webPeer = new Peer({host: ip, port: 8090, path: '/peer', debug: 2});
    var webId;

    webPeer.on('error', function(error) {
        console.log("I NEVER SEE THIS", error);

    webPeer.on('open', async (id) => {
        // I pass this to the phone here - works fine and I see the console log on the line below
        console.log("Saved Web ID", webId);

        webPeer.on('call', function(call) {
            console.log("Getting call from mobile");
    }); // I Never get any messages in the console for disconnected or 'close' events

    webPeer.on('disconnected', function() {
        console.log('Disconnection on web...');
        // update app to show disconnected error

    webPeer.on('close', function() {
        // update app to show disconnected error


const mobPeer = new Peer({
      host: ipv4, secure: false, port: 8090, path: '/peer', debug: 1


    mobPeer.on('open', function(id) {
      // I see this in the console
      console.log('Mobile id is', id);

    // I never see any of the below events appear in the console

    mobPeer.on('call', function(call) {
      console.log("Got remote stream", call);

    mobPeer.on('disconnected', function() {
      console.log('Disconnection on web...');
      // update app to show disconnected error

    mobPeer.on('close', function() {
        // update app to show disconnected error

When I try to connect => call => answer, I get this in the console of the electron / desktop application:

OFFER from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
CANDIDATE from r7a3vxg2q4000000 to qre0pfj8zin00000
(20580:0116/ AudioRtpReceiver::OnSetVolume: No audio channel exists.
ANSWER from qre0pfj8zin00000 to r7a3vxg2q4000000
CANDIDATE from qre0pfj8zin00000 to r7a3vxg2q4000000
ERROR PeerServer: Message unrecognized
ERROR PeerServer: Message unrecognized
ERROR PeerServer: Message unrecognized
ERROR PeerServer: Message unrecognized
ERROR PeerServer: Message unrecognized

Event and computer rental services

We are the leading IT rental company in the United Kingdom that offers the best IT solutions for events, organization and trade shows. We have all kinds of IT related things for short and long term rentals for more information. Visit our website or call us now, we are available 24 hours a day, 7 days a week for our respected customers! For more information visit

Two functions in the same javascript onclick event

I have two functions that need to interact in it DIV.

#environmentEdit (this);

Your job is that holding DIV for 3 secondsopen the confirm() javascript, passing the id.

# surveyStart (this);

This function, when clicking only once on the DIV, is forwarded to another screen by passing some parameters.


vistoriaIniciar()it works but the ambienteEdit() it does not work. If I delete the vistoriaIniciar() the function ambienteEdit() Works


How to have both events in the same DIV?

Thank you

function ambienteEdit(object) {
   let aID     = object.getElementsByClassName('aID')(0).value;

   let delay;
   document.addEventListener("mousedown", function() {
     delay = setTimeout(_ => confirm("Dialogo"), 3000)

   document.addEventListener("mouseup", function() {


function vistoriaIniciar(object) {
  let aID     = object.getElementsByClassName('aID')(0).value;
  let aCodigo = object.getElementsByClassName('aCodigo')(0).value;
  let aNome   = object.getElementsByClassName('aNome')(0).value;


javascript – Event after loading context / commands from the Ribbon tab?

In MS Project Server, on the Project Center page, I want it to automatically show linked subprojects in the main view.

You can get the subprojects to display by clicking on the PROJECTS tab on the ribbon and then checking the checkbox to show / hide subprojects.

tape screenshot

Apparently, this configuration persists in the sessions (maybe stored in a cookie?), But it is "personal" for each user, and I want the subprojects to be displayed for any user without having to go to the ribbon and mark the checkbox

I know you can issue tape commands by doing

SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand('CommandName', propertyBag);

and I even discovered the correct command from the Project Server ribbon to show / hide the subprojects. However, for that command to be available to the command dispatcher, you have to call _ribbonStartInit with the … correct namespace? … I'm not sure exactly what to call it, but it looks like a namespace.

Anyway, I have something that works, in a Script Editor web part on the Project Center page:

SP.SOD.executeOrDelayUntilScriptLoaded(function() {
     _ribbonStartInit('Ribbon.ContextualTabs.ProjectCenter.Home',true, event);
    setTimeout(function() {
        SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand('InsertedProject', {On:true});
    }, 100);

However, I am not too happy to have to use setTimeout to add a delay between the _ribbonStartInit and executing the ribbon command. But you do Need a delay, this:

SP.SOD.executeOrDelayUntilScriptLoaded(function() {
    _ribbonStartInit('Ribbon.ContextualTabs.ProjectCenter.Home',true, event);
    SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand('InsertedProject', {On:true});

it doesn't work because the 'InsertedProject' The command is not available until it is loaded, which (apparently) is not synchronous.

So my question is, is there an event I can connect to that will tell me when Ribbon.ContextualTabs.ProjectCenter.Home the commands have been loaded and available, so I don't have to trust setTimeout?

I discovered that there is a SP.Ribbon.PageManager.get_instance().add_ribbonInited() function that seems to allow you to add a callback to run after Ribbon has edited "Init", but I tried and it doesn't seem to work, I think it will probably be activated in an initial "Init" ed, and not after my call to

_ribbonStartInit('Ribbon.ContextualTabs.ProjectCenter.Home',true, event)

that, TBH, I just inspected what happens when you click on the PROJECTS tab, so I'm not even 100% sure what the event Part of that is. I guess it's the trigger event (that is, the click in the tab), and not a callback function.